From da9e85868571be88f20401d0b43e6574ddc9310d Mon Sep 17 00:00:00 2001 From: Barton Date: Wed, 11 Mar 2015 22:53:11 +0000 Subject: [PATCH] Add biblioitems to ISSUESLIP and ISSUEQSLIP in C4::Members::IssueSlip() Document all expansions within C4::Members::IssueSlip() http://bugs.koha-community.org/show_bug.cgi?id=13819 Signed-off-by: Frederic Demians - Works as described. ISBN appears on ISSUESLIP & ISSUEQSLIP. --- C4/Members.pm | 57 ++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 48 insertions(+), 9 deletions(-) diff --git a/C4/Members.pm b/C4/Members.pm index 4ca83b9..89a208b 100644 --- a/C4/Members.pm +++ b/C4/Members.pm @@ -2434,6 +2434,42 @@ sub DeleteMessage { $quickslip is boolean, to indicate whether we want a quick slip + IssueSlip populates ISSUESLIP and ISSUEQSLIP, and will make the following expansions: + + Both slips: + + <> + <> + + ISSUESLIP: + + + <> + <> + <> + <> + + + + <> + <> + <> + <> + + + + <> + + + ISSUEQSLIP: + + + <> + <> + <> + <> + + =cut sub IssueSlip { @@ -2461,9 +2497,10 @@ sub IssueSlip { $letter_code = 'ISSUEQSLIP'; %repeat = ( 'checkedout' => [ map { - 'biblio' => $_, - 'items' => $_, - 'issues' => $_, + 'biblio' => $_, + 'items' => $_, + 'biblioitems' => $_, + 'issues' => $_, }, grep { $_->{'now'} } @issues ], ); } @@ -2471,15 +2508,17 @@ sub IssueSlip { $letter_code = 'ISSUESLIP'; %repeat = ( 'checkedout' => [ map { - 'biblio' => $_, - 'items' => $_, - 'issues' => $_, + 'biblio' => $_, + 'items' => $_, + 'biblioitems' => $_, + 'issues' => $_, }, grep { !$_->{'overdue'} } @issues ], 'overdue' => [ map { - 'biblio' => $_, - 'items' => $_, - 'issues' => $_, + 'biblio' => $_, + 'items' => $_, + 'biblioitems' => $_, + 'issues' => $_, }, grep { $_->{'overdue'} } @issues ], 'news' => [ map { -- 2.3.5