summaryrefslogtreecommitdiff
path: root/httemplate/search/elements
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-06-03 22:01:42 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-06-03 22:07:32 -0500
commitc66e2ded844dbf3d0f23a70db96f0535e111400d (patch)
tree61cb64386ed59f43b1c4994f977dc75fc9237471 /httemplate/search/elements
parent51904a584f61eb0963c202963b203016e7db2225 (diff)
RT#71049: Add order_number to payment reports
Diffstat (limited to 'httemplate/search/elements')
-rwxr-xr-xhttemplate/search/elements/cust_pay_or_refund.html8
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';