Lines 639-645
sub RenewLoan {
Link Here
|
639 |
# Hashref building |
639 |
# Hashref building |
640 |
my $out; |
640 |
my $out; |
641 |
$out->{'renewals'} = $issue->renewals; |
641 |
$out->{'renewals'} = $issue->renewals; |
642 |
$out->{date_due} = dt_from_string($issue->date_due)->strftime('%Y-%m-%d %H:%S'); |
642 |
$out->{date_due} = dt_from_string($issue->date_due)->strftime('%Y-%m-%d %H:%M'); |
643 |
$out->{'success'} = $renewal[0]; |
643 |
$out->{'success'} = $renewal[0]; |
644 |
$out->{'error'} = $renewal[1]; |
644 |
$out->{'error'} = $renewal[1]; |
645 |
|
645 |
|
646 |
- |
|
|