home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 May
/
Chip_2000-05_cd1.bin
/
tema
/
SW602
/
Winbase
/
EShop_demo
/
SEZN_OBJ.WWW
< prev
next >
Wrap
Text File
|
2000-03-16
|
12KB
|
267 lines
{$$3220687257 . }<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="TEXT/HTML; CHARSET=WINDOWS-1250">
<META NAME="AUTHOR" CONTENT="PAVEL DURDIL">
<META NAME="Keywords" CONTENT=" ">
<TITLE>602ESHOP - V²pis vÜech objednßvek</TITLE>
<STYLE TYPE="text/css">
<!--
.white { font-size: 8pt; font-family: Arial; color: #FFFFFF }
.black { font-size: 9pt; font-family: Arial; color: #000000 }
.blue { font-size: 8pt; font-family: Arial; color: #104080 }
.male { font-family: Arial; font-size: 9pt; color: #104080; text-align: left; margin-left: 2pt; }
A { font-family: Arial; font-size: 8pt; color: #0000FF; text-decoration: underline; text-indent: 2pt;}
A.velky { font-family: Arial; font-size: 10pt; color: #0000FF; text-decoration: underline; text-indent: 0pt; }
-->
</STYLE>
</HEAD>
<%WBC%>
ErrorTemplate: err.htw
RequiredValues: heslo jmeno
BeginProgram: www_find_10
find_id(%wbegin%,"%jmeno%", "%heslo%");
EndProgram;
GetVariable: wcelkem:= wwcelkem
GetVariable: wbegin:= wwbegin
GetVariable: wnext:= wwnext
SQLStatement: seznam_obj [%wbegin%+%wnext%]
+ SELECT OBJ_HEADER.id_dobj,OBJ_HEADER.cis_eob,OBJ_HEADER.datum,OBJ_HEADER.zpracovana,OBJ_HEADER.sum_obj,OBJ_HEADER.storno, OBJ_HEADER.potvrzena,Obj_header.sum_cena ,Obj_header.K_uhrade
+ FROM OBJ_HEADER,obchodni_partneri
+ WHERE (OBJ_HEADER.id_org=obchodni_partneri.id) AND ((OBJ_HEADER.potvrzena) OR (OBJ_HEADER.storno)) AND
+ (obchodni_partneri.intr_user="%jmeno%" AND obchodni_partneri.intr_pswd="%heslo%")
+ ORDER BY Obj_header.datum DESC,Obj_header.id_dobj DESC
SQLStatement: prodejce
+ SELECT nazev1
+ FROM info_provozovatel
SQLStatement: firma
+ SELECT nazev1 AS firma
+ FROM obchodni_partneri
+ WHERE (obchodni_partneri.intr_user="%jmeno%" AND obchodni_partneri.intr_pswd="%heslo%")
SQLStatement: skupiny
+ SELECT kod_skupiny
+ FROM s_zbozi_sk
+ WHERE uroven=0
SQLStatement: sys_par
+ SELECT enable_storno FROM Sys_par
<%/WBC%>
<body background="/catalog/back_bd2.gif" bgcolor="#FFFFFF" leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>
<BR>
<!--<div align="RIGHT" class="black">-->
<div align="center" style="width: 580px">
<table width="570" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#000000">
<%if wbegin>0%>
<form method="post" action="<% wb_url%>/sezn_obj.htw">
<td align="left" valign="top" width="29">
<INPUT type="hidden" NAME="wbegin" VALUE="<%0%>">
<input type="hidden" name="jmeno" value="<% jmeno %>">
<input type="hidden" name="heslo" value="<% heslo %>">
<input type="Hidden" name="cena" value="<%cena;-102%>">
<input type="hidden" name="cenaDPH" value="<%cenaDPH;-102%>">
<input type="hidden" name="objednavka" value="<%objednavka%>">
<input type="image" SRC="/catalog/first.gif" name="Prvnφ" border="0"></td></form>
<form method="post" action="<%wb_url%>/sezn_obj.htw">
<td align="left" width="29">
<%if (wbegin-wnext)<=0%>
<INPUT type="hidden" NAME="wbegin" VALUE="<%0%>">
<%else%>
<INPUT type="hidden" NAME="wbegin" VALUE="<%wbegin-wnext%>">
<%endif%>
<input type="hidden" name="jmeno" value="<% jmeno %>">
<input type="hidden" name="heslo" value="<% heslo %>">
<input type="Hidden" name="cena" value="<%cena;-102%>">
<input type="hidden" name="cenaDPH" value="<%cenaDPH;-102%>">
<input type="hidden" name="objednavka" value="<%objednavka%>">
<input type="image" SRC="/catalog/prev.gif" name="Predchozφ" border="0"></td></form>
<%else%>
<td width="29"> </td>
<td width="29"> </td>
<%endif%>
<td align="center" width="100%">
<span class="white">
<strong>Seznam odeslan²ch objednßvek
<%if seznam_obj.CurrentRecord > 0%>
(<%wbegin+1%>..
<%if (wbegin+wnext)>=(wcelkem-1)%>
<%wcelkem-1%>
<%else%>
<%wbegin+wnext%>
<%endif%>
/<%wcelkem-1 %>)</strong>
<%endif%>
</span>
</td>
<%if (wbegin+wnext)<wcelkem-1%>
<form method="post" action="<% wb_url%>/sezn_obj.htw">
<td align="right" width="29">
<%if (wbegin+wnext)>=wcelkem%>
<INPUT type="hidden" NAME="wbegin" VALUE="<%wcelkem-wnext%>">
<%else%>
<INPUT type="hidden" NAME="wbegin" VALUE="<%wbegin+wnext%>">
<%endif%>
<input type="hidden" name="jmeno" value="<% jmeno %>">
<input type="hidden" name="heslo" value="<% heslo %>">
<input type="Hidden" name="cena" value="<%cena;-102%>">
<input type="hidden" name="cenaDPH" value="<%cenaDPH;-102%>">
<input type="hidden" name="objednavka" value="<%objednavka%>">
<input type="image" SRC="/catalog/next.gif" name="Nßsledujφcφ" border="0"></td></form>
<form method="post" action="<%wb_url%>/sezn_obj.htw">
<td align="right" width="29">
<INPUT type="hidden" NAME="wbegin" VALUE="<%wcelkem-wnext%>">
<input type="hidden" name="jmeno" value="<% jmeno %>">
<input type="hidden" name="heslo" value="<% heslo %>">
<input type="Hidden" name="cena" value="<%cena;-102%>">
<input type="hidden" name="cenaDPH" value="<%cenaDPH;-102%>">
<input type="hidden" name="objednavka" value="<%objednavka%>">
<input type="image" SRC="/catalog/last.gif" name="Poslednφ" border="0"></td></form>
<%else%>
<td width="29"> </td>
<td width="29"> </td>
<%endif%>
</tr>
<tr>
<td colspan="5" align="center" valign="top" width="570">
<span class="black">firma:<strong> <%firma.firma%></strong></span></td></tr>
</table>
<%if seznam_obj.CurrentRecord > 0%>
<CENTER>
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="0" BGCOLOR="#FFFFFF">
<TR>
<TD ALIGN="CENTER" BGCOLOR="#104080"><SPAN CLASS="white"><STRONG> Detail</STRONG></TD>
<TD ALIGN="CENTER" BGCOLOR="#104080"><SPAN CLASS="white"><STRONG>╚. objednßvky</STRONG></TD>
<TD ALIGN="CENTER" BGCOLOR="#104080"><SPAN CLASS="white"><STRONG>Odeslßna</STRONG></TD>
<TD ALIGN="CENTER" BGCOLOR="#104080"><SPAN CLASS="white"><STRONG>Potvrzena<BR>odb∞ratelem</STRONG></TD>
<TD ALIGN="CENTER" BGCOLOR="#104080"><SPAN CLASS="white"><STRONG>Potvrzena<BR>prodejcem</STRONG></TD>
<TD ALIGN="CENTER" BGCOLOR="#104080"><SPAN CLASS="white"><STRONG>╚ßstka<BR>k ·hrad∞</STRONG></TD>
<!-- <TD ALIGN="CENTER" BGCOLOR="#104080"><SPAN CLASS="white"><STRONG>╚ßstka 2</STRONG></TD>-->
<TD ALIGN="CENTER" BGCOLOR="#104080"><SPAN CLASS="white"><STRONG>Storno</STRONG></TD>
</TR>
<%begindetail seznam_obj%>
<%if ((CurrentRecord=1) OR (CurrentRecord=3) OR (CurrentRecord=5) OR (CurrentRecord=7) OR (CurrentRecord=9) OR (CurrentRecord=11) OR (CurrentRecord=13) OR (CurrentRecord=15) OR (CurrentRecord=17) OR (CurrentRecord=19)) %>
<TR>
<FORM METHOD=POST ACTION="<%wb_url%>/detail_s.htw">
<TD valign="center" width="40" ALIGN="CENTER" bgcolor="#FFFFFF">
<INPUT TYPE="hidden" NAME="jmeno" VALUE="<%jmeno%>">
<INPUT TYPE="hidden" NAME="heslo" VALUE="<%heslo%>">
<INPUT TYPE="hidden" NAME="cena" VALUE="<%cena;-102%>">
<INPUT TYPE="hidden" NAME="cenaDPH" VALUE="<%cenaDPH;-102%>">
<input type="hidden" name="objednavka" value="<%objednavka%>">
<input type="hidden" name="wbegin" value="<% wbegin %>">
<INPUT type="hidden" NAME="wnext" VALUE="<%wnext%>">
<!--
<INPUT type="hidden" NAME="Wdcena" VALUE="<%Wdcena%>">
<INPUT type="hidden" NAME="W_nazev" VALUE="">
<INPUT TYPE="hidden" NAME="check_kod" VALUE="<%skupiny.kod_skupiny%>">
<INPUT type="hidden" NAME="sk_ru" VALUE="<%id_cenik%>">
<input type="hidden" name="wvyber" value="<% wvyber %>">
<TD ALIGN="CENTER" BGCOLOR="#FFFFFF"><SPAN CLASS="black"><INPUT TYPE="RADIO" NAME="obj_so" <%if CurrentRecord = 1%>CHECKED<%endif%> VALUE="<%id_dobj%>"></TD>
-->
<input type="hidden" name="obj_so" value="<%id_dobj%>">
<input type="Image" name="Detail" src="/catalog/detail2.gif" border="0" vspace="0" hspace="0" title="Kliknutφm zobrazφte detail objednßvky, s mo₧nostφ storna, kopie, tisku formulß°e" alt="Kliknutφm zobrazφte detail objednßvky, s mo₧nostφ storna, kopie, tisku formulß°e">
</TD>
</FORM>
<TD ALIGN="LEFT" BGCOLOR="#FFFFFF"><SPAN CLASS="black"><%cis_eob%> </TD>
<TD ALIGN="RIGHT" BGCOLOR="#FFFFFF"><SPAN CLASS="black"><%datum%> </TD>
<%if potvrzena%>
<TD ALIGN="CENTER" BGCOLOR="#FFFFFF"><SPAN CLASS="black">ano</TD>
<%else%>
<TD ALIGN="CENTER" BGCOLOR="#FFFFFF"><SPAN CLASS="black">ne</TD>
<%endif%>
<TD ALIGN="RIGHT" BGCOLOR="#FFFFFF"><SPAN CLASS="black"><%zpracovana%> </TD>
<TD ALIGN="RIGHT" BGCOLOR="#FFFFFF"><SPAN CLASS="black"><%k_uhrade;-102%> </TD>
<!-- <TD ALIGN="RIGHT" BGCOLOR="#FFFFFF"><SPAN CLASS="black"><%sum_cena;-102%> </TD>-->
<%if storno%>
<TD ALIGN="CENTER" BGCOLOR="#FFFFFF"><SPAN CLASS="black">ano</TD>
<%else%>
<TD ALIGN="CENTER" BGCOLOR="#FFFFFF"><SPAN CLASS="black"> </TD>
<%endif%>
</TR>
<%else%>
<TR>
<FORM METHOD=POST ACTION="<%wb_url%>/detail_s.htw">
<TD valign="center" width="40" ALIGN="CENTER" bgcolor="#FFFFFF">
<INPUT TYPE="hidden" NAME="jmeno" VALUE="<%jmeno%>">
<INPUT TYPE="hidden" NAME="heslo" VALUE="<%heslo%>">
<INPUT TYPE="hidden" NAME="cena" VALUE="<%cena;-102%>">
<INPUT TYPE="hidden" NAME="cenaDPH" VALUE="<%cenaDPH;-102%>">
<input type="hidden" name="objednavka" value="<%objednavka%>">
<input type="hidden" name="wbegin" value="<% wbegin %>">
<INPUT type="hidden" NAME="wnext" VALUE="<%wnext%>">
<!--
<INPUT type="hidden" NAME="Wdcena" VALUE="<%Wdcena%>">
<INPUT type="hidden" NAME="W_nazev" VALUE="">
<INPUT TYPE="hidden" NAME="check_kod" VALUE="<%skupiny.kod_skupiny%>">
<INPUT type="hidden" NAME="sk_ru" VALUE="<%id_cenik%>">
<input type="hidden" name="wvyber" value="<% wvyber %>">
<TD ALIGN="CENTER" BGCOLOR="#FFFFFF"><SPAN CLASS="black"><INPUT TYPE="RADIO" NAME="obj_so" <%if CurrentRecord = 1%>CHECKED<%endif%> VALUE="<%id_dobj%>"></TD>
-->
<input type="hidden" name="obj_so" value="<%id_dobj%>">
<input type="Image" name="Detail" src="/catalog/detail2.gif" border="0" vspace="0" hspace="0" title="Kliknutφm zobrazφte detail objednßvky, s mo₧nostφ storna, kopie, tisku formulß°e">
</TD>
</FORM>
<TD ALIGN="LEFT" BGCOLOR="#CDCDCD"><SPAN CLASS="black"><%cis_eob%> </TD>
<TD ALIGN="RIGHT" BGCOLOR="#DEDEDE"><SPAN CLASS="black"><%datum%> </TD>
<%if potvrzena%>
<TD ALIGN="CENTER" BGCOLOR="#CDCDCD"><SPAN CLASS="black">ano</TD>
<%else%>
<TD ALIGN="CENTER" BGCOLOR="#CDCDCD"><SPAN CLASS="black">ne</TD>
<%endif%>
<TD ALIGN="RIGHT" BGCOLOR="#DEDEDE"><SPAN CLASS="black"><%zpracovana%> </TD>
<TD ALIGN="RIGHT" BGCOLOR="#CDCDCD"><SPAN CLASS="black"><%k_uhrade;-102%> </TD>
<!-- <TD ALIGN="RIGHT" BGCOLOR="#DEDEDE"><SPAN CLASS="black"><%sum_cena;-102%> </TD>-->
<%if storno%>
<TD ALIGN="CENTER" BGCOLOR="#CDCDCD"><SPAN CLASS="black">ano</TD>
<%else%>
<TD ALIGN="CENTER" BGCOLOR="#CDCDCD"><SPAN CLASS="black"> </TD>
<%endif%>
</TR>
<%endif%>
<%enddetail%>
<TR>
<TD COLSPAN="7" ALIGN="RIGHT" BGCOLOR="#FFFFFF"><SPAN CLASS="blue">Stornopodmφnky prodejce : Prodejcem potvrzenou objednßvku lze stornovat nejpozd∞ji do <%sys_par.enable_storno%> dnu po odeslßnφ.</TD>
</TR>
</TABLE></TD>
</TABLE>
<%else%>
<CENTER>
<CENTER>
<FONT FACE="Arial" SIZE="3" COLOR="#104080"><STRONG>Nebyla nalezena ₧ßdnß VaÜe objednßvka.</STRONG></FONT>
<BR><BR>
</CENTER>
<%endif%>
</body></html> <font size="-3" color="#FFFFFF">