diff options
author | levinse <levinse> | 2011-05-23 16:25:27 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-05-23 16:25:27 +0000 |
commit | b5dbd9e1bcbb701a20ed23e723b1e0105fd7c1a1 (patch) | |
tree | 982841fb75a9997045f4a7f665a9f365f3bfde33 /httemplate/edit/process/cust_main.cgi | |
parent | d884f87c167fa00a24b2347c46606585b8420657 (diff) |
internationalization/localization, RT12515
Diffstat (limited to 'httemplate/edit/process/cust_main.cgi')
-rwxr-xr-x | httemplate/edit/process/cust_main.cgi | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi index 65df2671e..3d56a8255 100755 --- a/httemplate/edit/process/cust_main.cgi +++ b/httemplate/edit/process/cust_main.cgi @@ -60,9 +60,6 @@ $cgi->param('invoicing_list', join(',', @invoicing_list) ); my $new = new FS::cust_main ( { map { $_, scalar($cgi->param($_)) -# } qw(custnum agentnum last first ss company address1 address2 city county -# state zip daytime night fax payby payinfo paydate payname tax -# otaker refnum) } fields('cust_main') } ); @@ -98,7 +95,6 @@ foreach my $dfield (qw( birthdate signupdate )) { if ( $dt ) { $parsed = $dt->epoch; } else { - # $error ||= $cgi->param('birthdate') . " is an invalid birthdate:" . $parser->errmsg; $error ||= "Invalid $dfield: $value"; } @@ -162,11 +158,7 @@ if ( $new->custnum eq '' ) { 'pkgpart' => $pkgpart, 'locationnum' => scalar($cgi->param('locationnum')), } ); - #$error ||= $cust_pkg->check; - #$cust_svc = new FS::cust_svc ( { 'svcpart' => $svcpart } ); - - #$error ||= $cust_svc->check; my $part_svc = qsearchs('part_svc', { 'svcpart' => $svcpart } ); my $svcdb = $part_svc->svcdb; @@ -219,8 +211,6 @@ if ( $new->custnum eq '' ) { die "$svcdb not handled on new customer yet"; } - #$error ||= $svc_acct->check; - } use Tie::RefHash; |