summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-17 19:19:33 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-17 19:19:33 +0800
commit1b8c8e4e870fe33668f956ea0e1e75cf9cd311d3 (patch)
treebeffc40b29b7dc2892ea635baedc16722544b149
parent9e8128b8dbb2fc7e226e43b20df4742f7580afe9 (diff)
Move the order call to transaction log
-rw-r--r--etc/log_transaction2
-rw-r--r--etc/receipt.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/log_transaction b/etc/log_transaction
index a78a07a..fe0999c 100644
--- a/etc/log_transaction
+++ b/etc/log_transaction
@@ -397,7 +397,7 @@ payment_mode: [data session payment_mode]
avs: [calc] ($Session->{payment_result} || {})->{'pop.avs_code'}; [/calc]
order_id: [data session payment_id]
auth_code: [calc] ($Session->{payment_result} || {})->{'pop.auth-code'}; [/calc]
-tracking_number:
+tracking_number: [pikul_order order_number='[value mv_order_number]' insurance=0]
order_date: [value name=order_date set="[tag time]%Y%m%d %H:%M:%S[/tag]"]
order_ymd: [value name=order_date set="[tag time]%Y%m%d[/tag]"]
order_wday: [value name=order_wday set="[tag time]%u[/tag]"]
diff --git a/etc/receipt.html b/etc/receipt.html
index 2949186..b5cc5b5 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>[value tracking_number]</strong>"]Your Tracking Number is %s[/msg]</p>
<p>[L]Your order is being electronically processed and will be shipped soon.[/L]</p>