[freeside-commits] freeside/httemplate/edit/process cust_main.cgi, 1.46, 1.47
Ivan,,,
ivan at wavetail.420.am
Mon Mar 21 23:00:56 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv24450/httemplate/edit/process
Modified Files:
cust_main.cgi
Log Message:
new customer from prospect qualification, RT#7111
Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_main.cgi,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -w -d -r1.46 -r1.47
--- cust_main.cgi 29 Sep 2010 00:38:08 -0000 1.46
+++ cust_main.cgi 22 Mar 2011 06:00:54 -0000 1.47
@@ -199,6 +199,21 @@
$svc = new FS::svc_phone \%svc_phone;
+ } elsif ( $svcdb eq 'svc_dsl' ) {
+
+ my %svc_dsl = (
+ 'svcpart' => $svcpart,
+ ( map { $_ => scalar($cgi->param("ship_$_")) || scalar($cgi->param($_))}
+ qw( first last company )
+ ),
+ ( map { $_ => scalar($cgi->param($_)) }
+ qw( loop_type phonenum password isp_chg isp_prev vendor_qual_id )
+ ),
+ 'desired_due_date' => time, #XXX enter?
+ 'vendor_order_type' => 'NEW',
+ );
+ $svc = new FS::svc_dsl \%svc_dsl;
+
} else {
die "$svcdb not handled on new customer yet";
}
More information about the freeside-commits
mailing list