Skip to content

Instantly share code, notes, and snippets.

@xmorave2
Created February 11, 2019 14:09
Show Gist options
  • Save xmorave2/b4368985b799a077ad1d14b98428bd92 to your computer and use it in GitHub Desktop.
Save xmorave2/b4368985b799a077ad1d14b98428bd92 to your computer and use it in GitHub Desktop.
hold_slip.tt
[% USE KohaDates %]
<p><small>Tisk: [% today | $KohaDates with_hours => 1 %]</small></p>
<h2 style="border-bottom: 1px solid black; margin-bottom: 1em;">[% branch.branchname %]</h2>
<div style="font-size: 1.2em; font-weight: bold;"><i>[% biblio.author %]</i>:<br />[% biblio.title %]</div>
<ul>
<li>Č. kód: [% item.barcode %]</li>
<li>Čeká do: <strong>[% hold.expirationdate | $KohaDates%]</strong></li>
</ul>
[% IF ( hold.reservenotes ) %]
<p style="margin-bottom: 1em;">Poznámka:<b>[% hold.reservenotes %]</b></p>
[% END %]
<p style="font-size: 1em; font-weight: bold; margin-bottom: 0;">[% borrower.cardnumber %]</p>
<p style="font-size: 1.2em; font-weight: bold; margin-top: 0;">[% borrower.surname %], [% borrower.firstname %]</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment