Lines 95-101
if ($barcode) {
Link Here
|
95 |
} |
95 |
} |
96 |
if ($can_renew) { |
96 |
if ($can_renew) { |
97 |
my $branchcode = C4::Context->userenv ? C4::Context->userenv->{'branch'} : undef; |
97 |
my $branchcode = C4::Context->userenv ? C4::Context->userenv->{'branch'} : undef; |
98 |
my $date_due = AddRenewal( undef, $item->itemnumber(), $branchcode, dt_from_string( scalar $cgi->param('renewonholdduedate')) ); |
98 |
my $date_due; |
|
|
99 |
if ( $cgi->param('renewonholdduedate') ) { |
100 |
$date_due = dt_from_string( scalar $cgi->param('renewonholdduedate')); |
101 |
} |
102 |
$date_due = AddRenewal( undef, $item->itemnumber(), $branchcode, $date_due ); |
99 |
$template->param( date_due => $date_due ); |
103 |
$template->param( date_due => $date_due ); |
100 |
} |
104 |
} |
101 |
} |
105 |
} |
102 |
- |
|
|