summaryrefslogtreecommitdiff
path: root/FS/FS/Template_Mixin.pm
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-03-06 20:08:32 -0600
committerJonathan Prykop <jonathan@freeside.biz>2015-03-09 23:31:41 -0500
commitd7d7b020db58c4aa5be2521c38719df2ec0bacb2 (patch)
treec695b747e855bfc4fa80645c579ccc4b74d35bfe /FS/FS/Template_Mixin.pm
parent3b713bdad84257fcff1e51457215be67ef3382f6 (diff)
RT#29406: Per customer option to display service address of package on invoice
Diffstat (limited to 'FS/FS/Template_Mixin.pm')
-rw-r--r--FS/FS/Template_Mixin.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index 1a577549e..ec1902a8c 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -570,7 +570,7 @@ sub print_generic {
)),
#global config
- 'ship_enable' => $conf->exists('invoice-ship_address'),
+ 'ship_enable' => $cust_main->invoice_ship_address || $conf->exists('invoice-ship_address'),
'unitprices' => $conf->exists('invoice-unitprice'),
'smallernotes' => $conf->exists('invoice-smallernotes'),
'smallerfooter' => $conf->exists('invoice-smallerfooter'),