diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-10-25 12:08:01 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-10-25 12:08:01 -0700 |
commit | 5556814b7ff65b0a4837390be9331e1841189427 (patch) | |
tree | ffcfabbced62e345cb945c9fa09131133695ffd1 /conf | |
parent | ff27ffb0342e4d630a9426a998ffe76de9d6ed8c (diff) |
user-defined site ID / location codes per location, RT#30856, RT#27545
Diffstat (limited to 'conf')
-rw-r--r-- | conf/invoice_html | 2 | ||||
-rw-r--r-- | conf/invoice_latex | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/conf/invoice_html b/conf/invoice_html index 35de6cf09..795242d5d 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -115,6 +115,8 @@ $OUT .= '<p class="allcaps"><b>'; my $sectionhead; if ( $section->{'location'} ) { + $sectionhead .= $section->{'location'}{'label_prefix'}. ': '. + if length($section->{'location'}{'label_prefix'}); $sectionhead = $section->{'location'}{'address1'}; $sectionhead .= ', '.$section->{'location'}{'address2'} if length($section->{'location'}{'address2'}); diff --git a/conf/invoice_latex b/conf/invoice_latex index 70b36b13d..6a5b53dd5 100644 --- a/conf/invoice_latex +++ b/conf/invoice_latex @@ -259,6 +259,8 @@ $OUT .= '\begin{longtable}{cllllllr}';
$OUT .= '\caption*{ ';
if ($section->{'location'}) {
+ $OUT .= $section->{'location'}{'label_prefix'}. ': '
+ if length($section->{'location'}{'label_prefix'});
$OUT .= $section->{'location'}{'address1'};
$OUT .= ', ' . $section->{'location'}{'address2'}
if length($section->{'location'}{'address2'});
|