X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Fcontact.html;h=7adcde77fd4245662d3b65050fa031082e4eb7e1;hp=01d024ca2b48238dd5438615dd9de8ed6ffc29c3;hb=b5dbd9e1bcbb701a20ed23e723b1e0105fd7c1a1;hpb=d884f87c167fa00a24b2347c46606585b8420657 diff --git a/httemplate/edit/cust_main/contact.html b/httemplate/edit/cust_main/contact.html index 01d024ca2..7adcde77f 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 ) { @@ -19,13 +19,13 @@ - Company + <% mt('Company') |h %> <%$style%>> -<% include('/elements/location.html', +<& /elements/location.html, 'prefix' => $pre, 'object' => $cust_main, 'onchange' => $onchange, @@ -34,8 +34,7 @@ 'same_checked' => $opt{'same_checked'}, 'geocode' => $opt{'geocode'}, 'censustract' => $opt{'censustract'}, - ) -%> +&> <% $daytime_label %> @@ -52,7 +51,7 @@ - Fax + <% mt('Fax') |h %> <%$style%>> @@ -64,15 +63,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 +80,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 +91,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 +119,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');