Add crednum (id) field to Credit Report RT#73200
authorMitch Jackson <mitch@freeside.biz>
Wed, 29 Nov 2017 19:46:05 +0000 (19:46 +0000)
committerMitch Jackson <mitch@freeside.biz>
Fri, 8 Dec 2017 20:15:53 +0000 (20:15 +0000)
httemplate/search/cust_credit.html

index 956f2d2..d6f912e 100755 (executable)
@@ -43,6 +43,15 @@ $show_voided_credits = $cgi->param('show_voided_credits')
 my (@header, @fields, @sort_fields, $align, @links, @color, @style);
 $align = '';
 
+# Report Column: crednum
+push @header, emt('Ref No');
+push @fields, sub { shift->crednum };
+push @sort_fields, '';
+$align .= 'l';
+push @links, '';
+push @color, '';
+push @style, '';
+
 # Report Column: Amount
 push @header, emt('Amount');
 push @fields, sub { $money_char .sprintf('%.2f', shift->amount) };