summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/quick-cust_pkg.cgi
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-05-28 17:18:17 -0700
committerMark Wells <mark@freeside.biz>2013-05-28 17:18:17 -0700
commitb8144cab2a804b964d1a97164780e2ddc6ae60ec (patch)
tree213c7e2db7bb81f2f6b171f7517deab7badab2b5 /httemplate/edit/process/quick-cust_pkg.cgi
parent8924a9dd6fa3d985a061e8c6e542990173adae34 (diff)
fix some problems with ordering packages on alt. locations, #23189, #940
Diffstat (limited to 'httemplate/edit/process/quick-cust_pkg.cgi')
-rw-r--r--httemplate/edit/process/quick-cust_pkg.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/edit/process/quick-cust_pkg.cgi b/httemplate/edit/process/quick-cust_pkg.cgi
index 14dbda166..fe5ee5e9e 100644
--- a/httemplate/edit/process/quick-cust_pkg.cgi
+++ b/httemplate/edit/process/quick-cust_pkg.cgi
@@ -160,6 +160,8 @@ if ( $quotationnum ) {
('custnum', FS::cust_main->location_fields)
});
$opt{'cust_location'} = $cust_location;
+ } else {
+ $opt{'locationnum'} = $locationnum;
}
$error = $cust_main->order_pkg( \%opt );