|
Lines 1034-1047
sub CanBookBeIssued {
Link Here
|
| 1034 |
$alerts{HIGHHOLDS} = { |
1034 |
$alerts{HIGHHOLDS} = { |
| 1035 |
num_holds => $check->{outstanding}, |
1035 |
num_holds => $check->{outstanding}, |
| 1036 |
duration => $check->{duration}, |
1036 |
duration => $check->{duration}, |
| 1037 |
returndate => output_pref( $check->{due_date} ), |
1037 |
returndate => output_pref( { dt => dt_from_string($check->{due_date}), dateformat => 'iso', timeformat => '24hr' }), |
| 1038 |
}; |
1038 |
}; |
| 1039 |
} |
1039 |
} |
| 1040 |
else { |
1040 |
else { |
| 1041 |
$needsconfirmation{HIGHHOLDS} = { |
1041 |
$needsconfirmation{HIGHHOLDS} = { |
| 1042 |
num_holds => $check->{outstanding}, |
1042 |
num_holds => $check->{outstanding}, |
| 1043 |
duration => $check->{duration}, |
1043 |
duration => $check->{duration}, |
| 1044 |
returndate => output_pref( $check->{due_date} ), |
1044 |
returndate => output_pref( { dt => dt_from_string($check->{due_date}), dateformat => 'iso', timeformat => '24hr' }), |
| 1045 |
}; |
1045 |
}; |
| 1046 |
} |
1046 |
} |
| 1047 |
} |
1047 |
} |