plural => 'checkouts',
fk => 'itemnumber',
},
+ old_issues => {
+ module => 'Koha::Old::Checkouts',
+ singular => 'old_checkout',
+ plural => 'old_checkouts',
+ fk => 'itemnumber',
+ },
borrower_modifications => {
module => 'Koha::Patron::Modifications',
singular => 'patron_modification',
Thank you for visiting <<branches.branchname>>.
|;
reset_template( { template => $checkout_template, code => $checkout_code, module => 'circulation' } );
- my $checkin_template = q|
+ my $checkin_template = q[
The following items have been checkin out:
----
-<<biblio.title>>
+<<biblio.title>> was due on <<old_issues.date_due | dateonly>>
----
Thank you for visiting <<branches.branchname>>.
-|;
+];
reset_template( { template => $checkin_template, code => $checkin_code, module => 'circulation' } );
C4::Circulation::AddIssue( $patron, $item1->{barcode} );
Thank you for visiting [% branch.branchname %].
|;
reset_template( { template => $checkout_template, code => $checkout_code, module => 'circulation' } );
- $checkin_template = q|
+ $checkin_template = q[
The following items have been checkin out:
----
-[% biblio.title %]
+[% biblio.title %] was due on [% old_checkout.date_due | $KohaDates %]
----
Thank you for visiting [% branch.branchname %].
-|;
+];
reset_template( { template => $checkin_template, code => $checkin_code, module => 'circulation' } );
C4::Circulation::AddIssue( $patron, $item1->{barcode} );