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:01:42 -0500
commitbde60d15eb42797e210e681eaf1318f7608042c0 (patch)
tree8f42ea24e546d381efd4ee20e12c05fc6e6bd5f6 /httemplate/search/elements
parent9c2854f48fb79a5534bbb35c4b7c12b2e6acc0a4 (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';