X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Fcontact.html;h=a53c78905225de6008349aa7784506906e658212;hb=dd65ba99bb9281571f19744154a3b03bcd3f01ab;hp=01d024ca2b48238dd5438615dd9de8ed6ffc29c3;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;p=freeside.git
diff --git a/httemplate/edit/cust_main/contact.html b/httemplate/edit/cust_main/contact.html
index 01d024ca2..a53c78905 100644
--- a/httemplate/edit/cust_main/contact.html
+++ b/httemplate/edit/cust_main/contact.html
@@ -1,14 +1,14 @@
<% &ntable("#cccccc") %>
- <%$r%>Contact name (last, first) |
+ <%$r%><% mt('Contact name (last, first)') |h %> |
<%$style%>> ,
<%$style%>>
|
% if ( $conf->exists('show_ss') && !$pre ) {
- SS# |
+ <% mt('SS#') |h %> |
|
% } elsif ( !$pre ) {
@@ -18,14 +18,25 @@
+% if ( $conf->exists('cust-email-high-visibility') && !$pre ) {
+
+
+ <% $conf->exists('cust_main-require_invoicing_list_email') ? $r : '' %>Email address(es)
+ |
+
+
+ |
+
+% }
+
- Company |
+ <% mt('Company') |h %> |
<%$style%>>
|
-<% include('/elements/location.html',
+<& /elements/location.html,
'prefix' => $pre,
'object' => $cust_main,
'onchange' => $onchange,
@@ -34,8 +45,7 @@
'same_checked' => $opt{'same_checked'},
'geocode' => $opt{'geocode'},
'censustract' => $opt{'censustract'},
- )
-%>
+&>
<% $daytime_label %> |
@@ -52,7 +62,7 @@
- Fax |
+ <% mt('Fax') |h %> |
<%$style%>>
|
@@ -64,15 +74,14 @@
<% $stateid_label %> |
<%$style%>> |
<% $stateid_state_label %> |
- <% include('/elements/select-state.html',
+ | <& /elements/select-state.html,
'state' => $cust_main->stateid_state,
'country' => $cust_main->country,
'prefix' => 'stateid_',
'onchange' => $onchange,
'disabled' => $disabled,
'style' => \@style,
- )
- %>
+ &>
|
% } elsif ( !$pre ) {
@@ -82,11 +91,10 @@
% }
-<%$r%>required fields
+<%$r%><% mt('required fields') |h %>
<%init>
-#my( $cust_main, $pre, $onchange, $disabled, %opt ) = @_;
my %opt = @_;
my $cust_main = $opt{'cust_main'};
my $pre = $opt{'pre'};
@@ -94,7 +102,6 @@ my $onchange = $opt{'onchange'};
my $disabled = $opt{'disabled'};
my @style = ( $opt{'style'} ? @{ $opt{'style'} } : () );
-#push @style, 'background-color: #dddddd' if $disabled;
my $style = scalar(@style) ? 'STYLE="'. join(';', @style). '"' : '';
my $conf = new FS::Conf;
@@ -123,15 +130,6 @@ if ( $conf->exists('cust_main-require_censustract') ) {
$opt{censustract} ||= $cust_main->censustract;
}
-#my($county_html, $state_html, $country_html) =
-# FS::cust_main_county::regionselector( $cust_main->get($pre.'county'),
-# $cust_main->get($pre.'state'),
-# $cust_main->get($pre.'country'),
-# $pre,
-# $onchange,
-# $disabled,
-# );
-
my $daytime_label = FS::Msgcat::_gettext('daytime') =~ /^(daytime)?$/
? 'Day Phone'
: FS::Msgcat::_gettext('daytime');
@@ -147,4 +145,6 @@ my $stateid_state_label = FS::Msgcat::_gettext('stateid_state') =~ /^(stateid_st
my $r = qq!* !;
+my @invoicing_list = $cust_main->invoicing_list;
+
%init>