Lines 122-129
$template->param('borrowernumber' => $borrowernumber);
Link Here
|
122 |
## Operations |
122 |
## Operations |
123 |
## |
123 |
## |
124 |
if ( $op =~ /save/i ) { |
124 |
if ( $op =~ /save/i ) { |
125 |
$suggestion_only->{suggesteddate} = dt_from_string( $suggestion_only->{suggesteddate} ) |
125 |
|
126 |
if $suggestion_only->{suggesteddate}; |
126 |
for my $date_key ( qw( suggesteddate manageddate accepteddate rejecteddate ) ) { |
|
|
127 |
$suggestion_only->{$date_key} = dt_from_string( $suggestion_only->{$date_key} ) |
128 |
if $suggestion_only->{$date_key}; |
129 |
} |
127 |
|
130 |
|
128 |
if ( $suggestion_only->{"STATUS"} ) { |
131 |
if ( $suggestion_only->{"STATUS"} ) { |
129 |
if ( my $tmpstatus = lc( $suggestion_only->{"STATUS"} ) =~ /ACCEPTED|REJECTED/i ) { |
132 |
if ( my $tmpstatus = lc( $suggestion_only->{"STATUS"} ) =~ /ACCEPTED|REJECTED/i ) { |
130 |
- |
|
|