summaryrefslogtreecommitdiff
path: root/httemplate/search/elements/cust_pay_or_refund.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2020-05-27 13:44:33 -0700
committerIvan Kohler <ivan@freeside.biz>2020-05-27 13:44:33 -0700
commitf30eaaf66cd0a947f388a03edd4522ba92a367bb (patch)
treeba160b3c0364655520f6b3844e514c28839346a0 /httemplate/search/elements/cust_pay_or_refund.html
parentfc263806f5e475559a0c4cfdb70a5f1cefe0ffa3 (diff)
fix top subtotals on refund reports
Diffstat (limited to 'httemplate/search/elements/cust_pay_or_refund.html')
-rwxr-xr-xhttemplate/search/elements/cust_pay_or_refund.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/httemplate/search/elements/cust_pay_or_refund.html b/httemplate/search/elements/cust_pay_or_refund.html
index fbcae9d4d..f925fecf2 100755
--- a/httemplate/search/elements/cust_pay_or_refund.html
+++ b/httemplate/search/elements/cust_pay_or_refund.html
@@ -58,6 +58,7 @@ Examples:
'group_column' => 'payby',
'group_label' => 'payby_name',
+ 'amount_field' => $amount_field,
'subtotal' => { $opt{amount_field} => "sum($amount_field)" },
'subtotal_row' => [ 'Subtotal',
sub { sprintf($money, $_[0]->$amount_field) },