X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fcontacts.html;h=7aba11813db0d745e82f9190970e1d431bc67286;hp=456d117a64289b0ee8063f74c7426b2c2e0145f0;hb=929f432c766bbe3bdeed5b80818a12ddf6ec6339;hpb=673b9a458d9138523026963df6fa3b4683e09bae diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html index 456d117a6..7aba11813 100644 --- a/httemplate/view/cust_main/contacts.html +++ b/httemplate/view/cust_main/contacts.html @@ -33,13 +33,13 @@ Billing address City <%= $cust_main->city %> State - <%= $cust_main->state %> + <%= state_label($cust_main->state, $cust_main->country) %> Zip <%= $cust_main->zip %> Country - <%= $cust_main->country %> + <%= code2country($cust_main->country) %> <% my $daytime_label = FS::Msgcat::_gettext('daytime') =~ /^(daytime)?$/ @@ -51,14 +51,22 @@ Billing address %> <%= $daytime_label %> - - <%= $cust_main->daytime || ' ' %> + + <%= include('/elements/phonenumber.html', + $cust_main->daytime, + 'callable'=>1 + ) + %> <%= $night_label %> - - <%= $cust_main->night || ' ' %> + + <%= include('/elements/phonenumber.html', + $cust_main->night, + 'callable'=>1 + ) + %> @@ -111,13 +119,21 @@ Service address <%= $daytime_label %> - <%= $cust_main->get("${pre}daytime") || ' ' %> + <%= include('/elements/phonenumber.html', + $cust_main->get("${pre}daytime"), + 'callable'=>1 + ) + %> <%= $night_label %> - <%= $cust_main->get("${pre}night") || ' ' %> + <%= include('/elements/phonenumber.html', + $cust_main->get("${pre}night"), + 'callable'=>1 + ) + %>