diff options
-rwxr-xr-x | LedgerSMB/IC.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/LedgerSMB/IC.pm b/LedgerSMB/IC.pm index 11fcf9c4..cc150cc1 100755 --- a/LedgerSMB/IC.pm +++ b/LedgerSMB/IC.pm @@ -547,7 +547,11 @@ sub save { ($null, $pricegroup_id) = split /--/, $form->{"pricegroup_$i"}; - + + my $validfrom; + my $validto; + $validfrom = $form->{"validfrom_$i"} if $form->{"validfrom_$i"}; + $validto = $form->{"validto_$i"} if $form->{"validto_$i"}; $query = qq| INSERT INTO partscustomer (parts_id, customer_id, |