diff options
Diffstat (limited to 'LedgerSMB/IC.pm')
-rwxr-xr-x | LedgerSMB/IC.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/LedgerSMB/IC.pm b/LedgerSMB/IC.pm index 11fcf9c4..3113faf2 100755 --- a/LedgerSMB/IC.pm +++ b/LedgerSMB/IC.pm @@ -548,6 +548,10 @@ 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, |