summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/pikul_order.tag4
-rw-r--r--etc/receipt.html2
2 files changed, 2 insertions, 4 deletions
diff --git a/config/pikul_order.tag b/config/pikul_order.tag
index 4996658..0936442 100644
--- a/config/pikul_order.tag
+++ b/config/pikul_order.tag
@@ -1,7 +1,6 @@
-UserTag pikul_order Order order_number insurance
UserTag pikul_order Routine <<EOR
sub {
- my ($order_number, $insurance) = @_;
+ my $order_number = shift;
my ($shipmode, $nitems, $subtotal, $fname, $lname, $address1, $address2, $city, $state, $zip,
$phone_day)
= @{$Tag->query({
@@ -52,7 +51,6 @@ sub {
$zip,
$nitems,
\@items,
- $insurance,
$subtotal
);
$Tag->query({sql => "UPDATE transactions SET tracking_number='$tracking_number' WHERE \
diff --git a/etc/receipt.html b/etc/receipt.html
index 2949186..6e853f9 100644
--- a/etc/receipt.html
+++ b/etc/receipt.html
@@ -7,7 +7,7 @@
<h1>[msg arg="__COMPANY__"]Thank you for shopping at %s[/msg]</h1>
<p class="well well-small lead">[msg arg="<strong>[value mv_order_number]</strong>"]Your Order Number is %s[/msg]</p>
-<p class="well well-small lead">[msg arg="<strong>[pikul_order order_number='[value mv_order_number]' insurance=0]</strong>"]Your Tracking Number is %s[/msg]</p>
+<p class="well well-small lead">[msg arg="<strong>[pikul_order [value mv_order_number]]</strong>"]Your Tracking Number is %s[/msg]</p>
<p>[L]Your order is being electronically processed and will be shipped soon.[/L]</p>