From b2d79135127e961869a05b936b9d33b1bef135df Mon Sep 17 00:00:00 2001 From: Alex Brelsfoard Date: Sat, 31 Jan 2015 18:54:47 -0500 Subject: RT #29800: converting the DID range from numeric to string to maintain leading zeroes --- httemplate/edit/process/bulk-svc_phone.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/edit/process') diff --git a/httemplate/edit/process/bulk-svc_phone.html b/httemplate/edit/process/bulk-svc_phone.html index 5a1fbc647..db486de76 100644 --- a/httemplate/edit/process/bulk-svc_phone.html +++ b/httemplate/edit/process/bulk-svc_phone.html @@ -25,7 +25,7 @@ my $num_avail = $1; errorpage("There are only $num_avail available") if $end - $start + 1 > $num_avail; -foreach my $phonenum ( $start .. $end ) { +foreach my $phonenum ( "$start" .. "$end" ) { my $svc_phone = new FS::svc_phone { 'phonenum' => $phonenum, -- cgit v1.2.1 From d46254f9b36873e457424eefdcf3610b71ef889d Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Sat, 31 Jan 2015 15:28:52 -0800 Subject: fix sprintf error, mostly #31273 --- httemplate/edit/process/quick-cust_pkg.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/edit/process') diff --git a/httemplate/edit/process/quick-cust_pkg.cgi b/httemplate/edit/process/quick-cust_pkg.cgi index 38d5c4486..67cdb87e8 100644 --- a/httemplate/edit/process/quick-cust_pkg.cgi +++ b/httemplate/edit/process/quick-cust_pkg.cgi @@ -144,7 +144,7 @@ if ( $quotationnum ) { $quotation_pkg->prospectnum($prospect_main->prospectnum) if $prospect_main; #XXX handle new location - $error = $quotation_pkg->insert; + $error = $quotation_pkg->insert || $quotation_pkg->estimate; } else { -- cgit v1.2.1