fix some problems with ordering packages on alt. locations, #23189, #940
[freeside.git] / httemplate / edit / process / quick-cust_pkg.cgi
index 14dbda1..fe5ee5e 100644 (file)
@@ -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 );