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-06 20:08:32 -0600
commit67b05564568d10ee3833a87f09b752d0319934ba (patch)
tree329bbedbc9dfbe70194d258b2f36983f4e39dc28 /FS/FS/Template_Mixin.pm
parent95b6042f37f00de9dca4b5654522fc4098a82d04 (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 ed6c8e09a..412a5b036 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -569,7 +569,7 @@ sub print_generic {
|| $cust_main->contact_firstlast ),
#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'),