[freeside-commits] branch FREESIDE_4_BRANCH updated. cd8b2efb9236d3886d9d72d729fe318dc2955dca
Ivan
ivan at 420.am
Wed Jan 27 14:43:51 PST 2016
The branch, FREESIDE_4_BRANCH has been updated
via cd8b2efb9236d3886d9d72d729fe318dc2955dca (commit)
from 7f593f9a1446434407e8f8c11235c4d780289331 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit cd8b2efb9236d3886d9d72d729fe318dc2955dca
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Jan 27 14:43:50 2016 -0800
no PO numbers in 4.x for now
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index 65a8484..1106310 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -886,13 +886,15 @@ sub print_generic {
if ($format eq 'latex');
}
- # let invoices use either of these as needed
- $invoice_data{'po_num'} = ($cust_main->payby eq 'BILL')
- ? $cust_main->payinfo : '';
- $invoice_data{'po_line'} =
- ( $cust_main->payby eq 'BILL' && $cust_main->payinfo )
- ? &$escape_function($self->mt("Purchase Order #").$cust_main->payinfo)
- : $nbsp;
+# if (well, probably when) we still need PO numbers in the brave new world of
+# 4.x, then we'll have to add them back as their own customer fields
+# # let invoices use either of these as needed
+# $invoice_data{'po_num'} = ($cust_main->payby eq 'BILL')
+# ? $cust_main->payinfo : '';
+# $invoice_data{'po_line'} =
+# ( $cust_main->payby eq 'BILL' && $cust_main->payinfo )
+# ? &$escape_function($self->mt("Purchase Order #").$cust_main->payinfo)
+# : $nbsp;
my %money_chars = ( 'latex' => '',
'html' => $conf->config('money_char') || '$',
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Template_Mixin.pm | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
More information about the freeside-commits
mailing list