X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Fcust_pay_or_refund.html;h=9f725bb0bccbc480030978ca8882be79e2c24df3;hb=65b639012a5dc547eccb01fd0e55efd4aa728039;hp=7d7fb73e9962a62062edbe7d40613c9641ed22b0;hpb=9ece94ae50eaa9c326fc801d904565bbbd28b9ed;p=freeside.git
diff --git a/httemplate/search/elements/cust_pay_or_refund.html b/httemplate/search/elements/cust_pay_or_refund.html
index 7d7fb73e9..9f725bb0b 100755
--- a/httemplate/search/elements/cust_pay_or_refund.html
+++ b/httemplate/search/elements/cust_pay_or_refund.html
@@ -63,7 +63,7 @@ Examples:
sub { sprintf($money, $_[0]->$amount_field) },
],
'total_row' => [ 'Total',
- sub { warn Dumper @_; sprintf("$money", $_[0]->$amount_field) },
+ sub { sprintf("$money", $_[0]->$amount_field) },
],
'show_combined' => 1,
&>
@@ -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';