X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fcontacts.html;h=252ca10b36ccc1294713c8278a3dba5346c5fcfd;hb=62b18c75989a1b00a25079f8f110992aaad81bba;hp=dbc491af038e31f220c1743f26295c6e62fc0b76;hpb=cdc349ac42247cd97cd475918b75a8e8e71ec0c2;p=freeside.git diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html index dbc491af0..252ca10b3 100644 --- a/httemplate/view/cust_main/contacts.html +++ b/httemplate/view/cust_main/contacts.html @@ -10,9 +10,16 @@ % if ( $this eq 'ship' and % $cust_main->bill_locationnum == $cust_main->ship_locationnum ) % { - (<% mt('same as billing') %>) + (<% emt('same as billing') %>) % } +% if ( +% ($this eq 'ship') +% && $cust_main->invoice_ship_address +% && !$conf->exists('invoice-ship_address') #it's always on, so hide per-cust config +% ) { +(<% emt('included on invoices') %>) +% } % if ( $this eq 'bill' ) { @@ -60,6 +67,14 @@ % } % } % # now the actual address + +% if ( $location->locationname ) { + + + + +% } + @@ -78,8 +93,12 @@ % } +% if ( $location->city ) { +% } else { + +% } % if ( $location->county ) { @@ -87,11 +106,11 @@ - + - + % if ( $location->latitude && $location->longitude ) {
<% mt('Location ID') |h %><% $location->locationname |h %>
<% mt('Address') |h %> <% $location->address1 |h %>
<% mt('City') |h %> <% $location->city |h %><% mt('County') |h %> <% $location->county |h %><% mt('State') |h %> <% state_label( $location->state, $location->country ) |h %> <% mt('Zip') |h %><% $location->zip %><% $location->zip |h %>
<% mt('Country') |h %><% code2country( $location->country ) %><% $location->country_full |h %>