diff options
| author | Jonathan Prykop <jonathan@freeside.biz> | 2016-06-03 22:01:42 -0500 |
|---|---|---|
| committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-06-03 22:07:32 -0500 |
| commit | c66e2ded844dbf3d0f23a70db96f0535e111400d (patch) | |
| tree | 61cb64386ed59f43b1c4994f977dc75fc9237471 /httemplate/search/elements | |
| parent | 51904a584f61eb0963c202963b203016e7db2225 (diff) | |
RT#71049: Add order_number to payment reports
Diffstat (limited to 'httemplate/search/elements')
| -rwxr-xr-x | httemplate/search/elements/cust_pay_or_refund.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/search/elements/cust_pay_or_refund.html b/httemplate/search/elements/cust_pay_or_refund.html index b07f5e9d2..9f725bb0b 100755 --- a/httemplate/search/elements/cust_pay_or_refund.html +++ b/httemplate/search/elements/cust_pay_or_refund.html @@ -211,6 +211,14 @@ push @links, ''; push @fields, sub { time2str('%b %d %Y', shift->_date ) }; push @sort_fields, '_date'; +if ($opt{'show_order_number'}) { + push @header, emt('Order Number'); + $align .= 'r'; + push @links, ''; + push @fields, 'order_number'; + push @sort_fields, 'order_number'; +} + unless ( $opt{'disable_by'} ) { push @header, emt('By'); $align .= 'c'; |
