projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee2c240
)
fix totals on refund report, #40561
author
Mark Wells
<mark@freeside.biz>
Mon, 29 Feb 2016 03:32:12 +0000
(19:32 -0800)
committer
Mark Wells
<mark@freeside.biz>
Mon, 29 Feb 2016 03:32:40 +0000
(19:32 -0800)
httemplate/search/elements/cust_pay_or_refund.html
patch
|
blob
|
history
diff --git
a/httemplate/search/elements/cust_pay_or_refund.html
b/httemplate/search/elements/cust_pay_or_refund.html
index
697cf84
..
7d7fb73
100755
(executable)
--- a/
httemplate/search/elements/cust_pay_or_refund.html
+++ b/
httemplate/search/elements/cust_pay_or_refund.html
@@
-58,12
+58,12
@@
Examples:
'group_column' => 'payby',
'group_label' => 'payby_name',
- 'subtotal' => { $opt{
name_verb
} => "sum($amount_field)" },
+ 'subtotal' => { $opt{
amount_field
} => "sum($amount_field)" },
'subtotal_row' => [ 'Subtotal',
sub { sprintf($money, $_[0]->$amount_field) },
],
'total_row' => [ '<B>Total</B>',
- sub { sprintf("<B>$money</B>", $_[0]->$amount_field) },
+ sub {
warn Dumper @_;
sprintf("<B>$money</B>", $_[0]->$amount_field) },
],
'show_combined' => 1,
&>