Lines 126-132
elsif ($op eq 'add') {
Link Here
|
126 |
$maxonsiteissueqty = undef if $maxonsiteissueqty !~ /^\d+/; |
126 |
$maxonsiteissueqty = undef if $maxonsiteissueqty !~ /^\d+/; |
127 |
my $issuelength = $input->param('issuelength'); |
127 |
my $issuelength = $input->param('issuelength'); |
128 |
my $lengthunit = $input->param('lengthunit'); |
128 |
my $lengthunit = $input->param('lengthunit'); |
129 |
my $hardduedate = eval { dt_from_string( $input->param('hardduedate') ) }; |
129 |
my $hardduedate = $input->param('hardduedate'); |
|
|
130 |
$hardduedate = eval { dt_from_string( $input->param('hardduedate') ) } if ( $hardduedate ); |
130 |
$hardduedate = output_pref( { dt => $hardduedate, dateonly => 1, dateformat => 'iso' } ) if ( $hardduedate ); |
131 |
$hardduedate = output_pref( { dt => $hardduedate, dateonly => 1, dateformat => 'iso' } ) if ( $hardduedate ); |
131 |
my $hardduedatecompare = $input->param('hardduedatecompare'); |
132 |
my $hardduedatecompare = $input->param('hardduedatecompare'); |
132 |
my $rentaldiscount = $input->param('rentaldiscount'); |
133 |
my $rentaldiscount = $input->param('rentaldiscount'); |
133 |
- |
|
|