diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-18 12:26:32 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-18 12:26:39 +0800 |
commit | c10cde30d86bddd720480bd535582151a816d1cc (patch) | |
tree | b33f89c81d13d873f9dc7d9452c2850231dff5f3 | |
parent | 3fe050402dc2afbee8ecc5d3f67576790f7c5d62 (diff) |
The correct syntax
The quotes and parameter name must be retained.
I guess it takes some more effort to make some parameter default,
or to enable arguments without quotes.
-rw-r--r-- | config/pikul_order.tag | 1 | ||||
-rw-r--r-- | etc/receipt.html | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/config/pikul_order.tag b/config/pikul_order.tag index 0936442..08bbffb 100644 --- a/config/pikul_order.tag +++ b/config/pikul_order.tag @@ -1,3 +1,4 @@ +UserTag pikul_order Order order_number UserTag pikul_order Routine <<EOR sub { my $order_number = shift; diff --git a/etc/receipt.html b/etc/receipt.html index 6e853f9..e94b584 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 [value mv_order_number]]</strong>"]Your Tracking Number is %s[/msg]</p> +<p class="well well-small lead">[msg arg="<strong>[pikul_order order_number='[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> |