X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fprocess%2Fchange-cust_pkg.html;h=96175e1e4572b81d0f7f806da51e872a022b17ca;hb=a2df4ef9575be1ae2f1f5b9089f121316f796bac;hp=9d06d8e1ab54cc5692364e87ceacde668855aca7;hpb=2c62268f304f1ec6e8baf89043eb1bd1197bb9a6;p=freeside.git diff --git a/httemplate/edit/process/change-cust_pkg.html b/httemplate/edit/process/change-cust_pkg.html index 9d06d8e1a..96175e1e4 100644 --- a/httemplate/edit/process/change-cust_pkg.html +++ b/httemplate/edit/process/change-cust_pkg.html @@ -27,7 +27,7 @@ my $cust_pkg = qsearchs({ die 'unknown pkgnum' unless $cust_pkg; my %change = map { $_ => scalar($cgi->param($_)) } - qw( locationnum pkgpart ); + qw( locationnum pkgpart quantity ); $change{'keep_dates'} = 1; @@ -35,7 +35,7 @@ if ( $cgi->param('locationnum') == -1 ) { my $cust_location = FS::cust_location->new({ 'custnum' => $cust_pkg->custnum, map { $_ => scalar($cgi->param($_)) } - qw( address1 address2 city county state zip country ) + FS::cust_main->location_fields }); $change{'cust_location'} = $cust_location; }