diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2016-01-27 14:43:50 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2016-01-27 14:43:50 -0800 |
| commit | cd8b2efb9236d3886d9d72d729fe318dc2955dca (patch) | |
| tree | 5f92cf89f7a5f0dfeb4a82faeb06c34f03debf25 /FS/FS/Template_Mixin.pm | |
| parent | 7f593f9a1446434407e8f8c11235c4d780289331 (diff) | |
no PO numbers in 4.x for now
Diffstat (limited to 'FS/FS/Template_Mixin.pm')
| -rw-r--r-- | FS/FS/Template_Mixin.pm | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index 65a848451..1106310cb 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') || '$', |
