Created
September 23, 2021 05:00
-
-
Save xmorave2/cd926ec245e34c4f42537de221016f5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[% USE ItemTypes %] | |
[% BLOCK detail %] | |
<p style="font-size: 1.1em; border-bottom: 1px solid black;"> | |
[% IF checkout.item.biblio.author %]<i>[% checkout.item.biblio.author | $Remove_MARC_punctuation %]</i>:[% END %] | |
<strong>[% checkout.item.biblio.title | $Remove_MARC_punctuation %]</strong> | |
[% record = checkout.item.biblio.metadata.record %] | |
[% field787 = record.field('787') %] | |
[% IF field787 %]. | |
[% field787.subfield('t') %] [% field787.subfield('g') %]. | |
[% END %] | |
[%- IF checkout.item.enumchron %], [% checkout.item.enumchron %][% END %] | |
([% ItemTypes.GetDescription(checkout.item.effective_itemtype) %]) | |
<br /> | |
Půjčeno od: [% checkout.issuedate | $KohaDates %]<br /> | |
Vrátit do: <b>[% checkout.date_due | $KohaDates %]</b><br /> | |
[% branch.branchname %] | |
[% biblio = checkout.item.biblio %] | |
[% IF (biblio.frameworkcode == 'PE') %] | |
[% IF checkout.item.has_pending_hold %] | |
<i><strong>Rezervováno</strong>, tuto výpůjčku nebude možné prodloužit</i> | |
[% END %] | |
[% ELSIF biblio.holds.count %]<br /><i><strong>Rezervováno</strong>, tuto výpůjčku nebude možné prodloužit</i> | |
[% END %] | |
</p> | |
[% END # Block %] | |
<small>Tisk: [% today | $KohaDates with_hours=1 %]</small> | |
<img src="https://www.knihovna-uo.cz/img/MKUO_cerne.png" style="width: 6cm" /> | |
www.knihovna-uo.cz<br /> | |
[% branch.branchphone %]<br /> | |
<p style="font-size: 1.2em; border-bottom: 1px solid black;"> | |
Čtenář: <strong>[% borrower.firstname %] [% borrower.surname %]</strong> ([% borrower.cardnumber %]) <br /> | |
Počet výpůjček: <strong>[% checkouts.count %]</strong><br /> | |
</p> | |
[% FOREACH checkout IN checkouts %] | |
[% PROCESS detail checkout = checkout %] | |
[% END %] | |
[% IF overdues.count %] | |
[% FOREACH overdue IN overdues %] | |
[% PROCESS detail checkout = overdue %] | |
[% END %] | |
[% END # if overdues %] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment