[interchange-cvs] interchange - racke modified
dist/foundation/pages/query/check_orders.html
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Wed Feb 4 19:54:08 EST 2004
User: racke
Date: 2004-02-05 00:54:08 GMT
Modified: dist/foundation/pages/query check_orders.html
Log:
adjusted layout to foundation look&feel
apply [convert-date] to order date
Revision Changes Path
2.4 +15 -16 interchange/dist/foundation/pages/query/check_orders.html
rev 2.4, prev_rev 2.3
Index: check_orders.html
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/pages/query/check_orders.html,v
retrieving revision 2.3
retrieving revision 2.4
diff -u -r2.3 -r2.4
--- check_orders.html 4 Dec 2003 18:43:19 -0000 2.3
+++ check_orders.html 5 Feb 2004 00:54:07 -0000 2.4
@@ -25,7 +25,7 @@
@_LEFTONLY_TOP_@
<!-- BEGIN CONTENT -->
-
+<br>
[tmp ugly_dbm][/tmp]
[calc]
@@ -66,23 +66,23 @@
return;
}
- HTML "<TABLE CELLSPACING=0 CELLMARGIN=0 BORDER=0>";
+ HTML '<TABLE WIDTH="95%" CELLPADDING=3 CELLSPACING=0 BORDER=0>';
my $header_template = <<'EOF';
- <TR>
- <TD VALIGN=bottom>[L]DATE[/L]</TD>
- <TD VALIGN=bottom>[L]ORDER ID[/L]</TD>
- <TD VALIGN=bottom>[L]QTY<BR>TOTAL[/L]</TD>
- <TD VALIGN=bottom>[L]PAYMENT<BR>METHOD[/L]</TD>
- <TD VALIGN=bottom>[L]SUBTOTAL[/L]</TD>
- <TD VALIGN=bottom>[L]SHIPPING<BR>HANDLING[/L]</TD>
- <TD VALIGN=bottom>[L]TOTAL[/L]</TD>
- <TD VALIGN=bottom>[L]STATUS[/L]</TD>
+ <tr class="contentbar2">
+ <TD VALIGN=bottom><b>[L]Date[/L]</b></TD>
+ <TD VALIGN=bottom><b>[L]Order ID[/L]</b></TD>
+ <TD VALIGN=bottom><b>[L]Quantity[/L]</b></TD>
+ <TD VALIGN=bottom><b>[L]Payment Method[/L]</b></TD>
+ <TD VALIGN=bottom><b>[L]Subtotal[/L]</b></TD>
+ <TD VALIGN=bottom><b>[L]Shipping[/L]</b><BR><b>[L]Handling[/L]</b></TD>
+ <TD VALIGN=bottom><b>[L]Total[/L]</b></TD>
+ <TD VALIGN=bottom><b>[L]Status[/L]</b></TD>
</TR>
EOF
my $line_template = <<'EOF';
- <TR>
+ <TR CLASS="contentbar1">
<TD VALIGN=TOP>$order_date</TD>
<TD VALIGN=TOP><A HREF="$detail_url">$order_number</A></TD>
<TD ALIGN=RIGHT VALIGN=TOP>$nitems</TD>
@@ -112,7 +112,7 @@
href => 'query/order_detail',
arg => $hash{order_number},
});
-
+ $hash{order_date} = $Tag->convert_date({}, $hash{order_date});
my $status = errmsg($hash{status});
my $tracking;
@@ -149,9 +149,8 @@
$hash{$_} = $Tag->currency ({ body=> $hash{$_} });
}
if($hash{handling}) {
- $hash{handling} = "<BR>(handling " .
- $Tag->currency ({ body=> $hash{handling} }) .
- ")";
+ $hash{handling} = '<BR>' .
+ $Tag->currency ({ body=> $hash{handling} });
}
else {
$hash{handling} = '';
More information about the interchange-cvs
mailing list