https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23292
--- Comment #5 from Sally <[email protected]> --- Changing from HoldSlip to TransferSlip would be a step back for us, as we differentiate between holds and ordinary transfers - which enables us to prioritise how we unpack our stock. I think the problem described can be resolved with Template Toolkit - you can create an IF this THEN this ELSE this condition in the HoldSlip syntax. Here's an example of the syntax (which you can then modify with HTML to lay it out correctly): [% USE Branches %] [% loggedinbranchname = Branches.GetName( Branches.GetLoggedInBranchcode() ) %] [% IF loggedinbranchname == branch.branchname%] [% hold.expirationdate | $KohaDates %] [% borrower.surname %] [% USE String %] [% patronsname = borrower.firstname %] [% patronsname.substr (0, 1) %] [% USE String %] [% patronscard = borrower.cardnumber %] *******[% patronscard.substr (7, 3) %] [% branch.branchname %] [% biblio.title %] [% biblio.author %] [% item.barcode %] [% branch.branchname %] [% today | $KohaDates %] [% ELSE %] [% branch.branchcode %]* [% branch.branchname %] [% biblio.title %] [% biblio.author %] [% item.barcode %] [% today | $KohaDates %] [% END %] -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
