X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fcontacts.html;h=0b754d097070746d436c5217ee5dfb01f98d1e6b;hb=2238711675eefa60cd2feb47c8d3e43d3e6f1860;hp=a86c35cdd76834fa143ecefcb3350d43cec7ac41;hpb=8e5fab2148c7dc492b9fffe271c3dcf8df55b01f;p=freeside.git
diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html
index a86c35cdd..0b754d097 100644
--- a/httemplate/view/cust_main/contacts.html
+++ b/httemplate/view/cust_main/contacts.html
@@ -1,14 +1,14 @@
% my %which = (
-% '' => 'Billing',
-% 'ship_' => 'Service',
+% '' => mt('Billing'),
+% 'ship_' => mt('Service'),
% );
% foreach my $which ( '', 'ship_' ) {
% my $pre = $cust_main->get("${which}last") ? $which : '';
-<% $which{$which} %> address
+<% $which{$which} %> <% mt('address') |h %>
<% ntable("#cccccc") %>
<% ntable("#cccccc",2) %>
|
- Contact name |
+ <% mt('Contact name') |h %> |
<% $cust_main->get("${pre}last"). ', '. $cust_main->get("${pre}first") |h %>
|
@@ -18,11 +18,11 @@
% }
- Company |
+ <% mt('Company') |h %> |
<% $cust_main->get("${pre}company") |h %> |
- Address |
+ <% mt('Address') |h %> |
<% $cust_main->get("${pre}address1") |h %> |
@@ -31,8 +31,8 @@
% ( $conf->exists('cust_main-require_address2')
% && ! ( $pre xor $cust_main->has_ship_address )
% )
-% ? 'Unit #'
-% : ' ';
+% ? mt('Unit #')
+% : ' ';
<% $address2_label %> |
@@ -42,43 +42,41 @@
% }
- City |
+ <% mt('City') |h %> |
<% $cust_main->get("${pre}city") |h %> |
% if ( $cust_main->get("${pre}county") ) {
- County |
+ <% mt('County') |h %> |
<% $cust_main->get("${pre}county") |h %> |
% }
- State |
+ <% mt('State') |h %> |
<% state_label( $cust_main->get("${pre}state"), $cust_main->get("${pre}country") ) |h %> |
- Zip |
+ <% mt('Zip') |h %> |
<% $cust_main->get("${pre}zip") %> |
- Country |
+ <% mt('Country') |h %> |
<% code2country( $cust_main->get("${pre}country") ) %> |
<% $daytime_label %> |
- <% include('/elements/phonenumber.html',
+ <& /elements/phonenumber.html,
$cust_main->get("${pre}daytime"),
'callable'=>1
- )
- %>
+ &>
|
<% $night_label %> |
- <% include('/elements/phonenumber.html',
+ <& /elements/phonenumber.html,
$cust_main->get("${pre}night"),
'callable'=>1
- )
- %>
+ &>
|
- Fax |
+ <% mt('Fax') |h %> |
<% $cust_main->get("${pre}fax") || ' ' %>
|
@@ -96,7 +94,7 @@
% }
% }
-<% include('contacts_new.html', $cust_main) %>
+<& contacts_new.html, $cust_main &>
<%once>
my $daytime_label = FS::Msgcat::_gettext('daytime') =~ /^(daytime)?$/