Lines 2255-2261
sub AddRenewal {
Link Here
|
2255 |
unless ($datedue) { |
2255 |
unless ($datedue) { |
2256 |
|
2256 |
|
2257 |
my $borrower = C4::Members::GetMemberDetails( $borrowernumber, 0 ) or return undef; |
2257 |
my $borrower = C4::Members::GetMemberDetails( $borrowernumber, 0 ) or return undef; |
2258 |
my $itemtype = (C4::Context->preference('item-level_itypes')) ? $biblio->{'itype'} : $biblio->{'itemtype'} , |
2258 |
my $itemtype = (C4::Context->preference('item-level_itypes')) ? $biblio->{'itype'} : $biblio->{'itemtype'}; |
2259 |
|
2259 |
|
2260 |
$datedue = (C4::Context->preference('RenewalPeriodBase') eq 'date_due') ? |
2260 |
$datedue = (C4::Context->preference('RenewalPeriodBase') eq 'date_due') ? |
2261 |
C4::Dates->new($issuedata->{date_due}, 'iso') : |
2261 |
C4::Dates->new($issuedata->{date_due}, 'iso') : |
2262 |
- |
|
|