From 3dfc446d8a4d241787c47ff7e2db72483d62ab7a Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 22 Mar 2011 06:00:54 +0000 Subject: new customer from prospect qualification, RT#7111 --- httemplate/edit/cust_main/first_pkg.html | 5 +- .../edit/cust_main/first_pkg/select-part_pkg.html | 5 +- httemplate/edit/cust_main/first_pkg/svc_dsl.html | 75 ++++++++++++++++++++++ 3 files changed, 80 insertions(+), 5 deletions(-) create mode 100644 httemplate/edit/cust_main/first_pkg/svc_dsl.html (limited to 'httemplate/edit/cust_main') diff --git a/httemplate/edit/cust_main/first_pkg.html b/httemplate/edit/cust_main/first_pkg.html index 7c131eadc..3b15d4ee4 100644 --- a/httemplate/edit/cust_main/first_pkg.html +++ b/httemplate/edit/cust_main/first_pkg.html @@ -13,7 +13,8 @@ <% include('first_pkg/select-part_pkg.html', - 'part_pkg' => \@part_pkg, + 'part_pkg' => \@part_pkg, + 'first_svc' => \@first_svc, %opt, # map { $_ => $opt{$_} } qw( pkgpart_svcpart saved_domsvc ) ) @@ -69,7 +70,7 @@ if ( $cgi->param('lock_pkgpart') =~ /^([\d, ]+)$/ ) { } -my @first_svc = ( 'svc_acct', 'svc_phone' ); +my @first_svc = ( 'svc_acct', 'svc_phone', 'svc_dsl' ); @part_pkg = grep { $_->svcpart(\@first_svc) diff --git a/httemplate/edit/cust_main/first_pkg/select-part_pkg.html b/httemplate/edit/cust_main/first_pkg/select-part_pkg.html index 20f0e1982..9d37f15eb 100644 --- a/httemplate/edit/cust_main/first_pkg/select-part_pkg.html +++ b/httemplate/edit/cust_main/first_pkg/select-part_pkg.html @@ -132,9 +132,8 @@ $opt{saved_domsvc} = 0 unless $opt{saved_domsvc}; my $url_prefix = $opt{'relurls'} ? '' : $p; -my @part_pkg = @{$opt{'part_pkg'}}; - -my @first_svc = ( 'svc_acct', 'svc_phone' ); +my @part_pkg = @{ $opt{'part_pkg'} }; +my @first_svc = @{ $opt{'first_svc'} }; my %pkgpart_svcpart = (); my %svcdb = (); diff --git a/httemplate/edit/cust_main/first_pkg/svc_dsl.html b/httemplate/edit/cust_main/first_pkg/svc_dsl.html new file mode 100644 index 000000000..971f4be33 --- /dev/null +++ b/httemplate/edit/cust_main/first_pkg/svc_dsl.html @@ -0,0 +1,75 @@ +<% ntable("#cccccc") %> + +% if ( $opt{'phonenum'} ) { + + + + + + Loop Type + Line-share + + + + Phone Number + <% $opt{'phonenum'} %> + + +% } else { + + + + + + Loop Type + Standalone + + +% } + + + PPPoE password + + + + + + + ISP Changing? + + + > + + + + + Current or Previous ISP + + + + + + + + Vendor Qualification ID + <% $opt{'vendor_qual_id'} %> + + + + +<%init> + +my %opt = @_; + +#my $conf = new FS::Conf; + + -- cgit v1.2.1