summaryrefslogtreecommitdiff
path: root/httemplate/edit/process
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-02-02 15:04:02 -0600
committerJonathan Prykop <jonathan@freeside.biz>2015-02-02 15:04:02 -0600
commit973d5dd654ea23dea3ff185e157a404556815ccb (patch)
treee11d0917e640fbe626443c57c5de50838f2aa662 /httemplate/edit/process
parentfcb0e3c1cb7567c7ce2c24a367c304b9a1e356f3 (diff)
parent80a28e539bd4ad11a309e5f98402beea648fee67 (diff)
Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE_3_BRANCH
Diffstat (limited to 'httemplate/edit/process')
-rw-r--r--httemplate/edit/process/bulk-svc_phone.html2
-rw-r--r--httemplate/edit/process/quick-cust_pkg.cgi2
2 files changed, 2 insertions, 2 deletions
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,
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 {