Re: [Koha] Template toolkin and MARC field/subfields

2021-09-22 Thread Josef Moravec
Hello Mike, I would try something like this: https://gist.github.com/xmorave2/cd926ec245e34c4f42537de221016f5c see especially this part (lines 6 to 10): [% record = checkout.item.biblio.metadata.record %] [% field787 = record.field('787') %] [% IF field787 %]. [% field787.subfield('t') %] [% fie

[Koha] Template toolkin and MARC field/subfields

2021-09-22 Thread Mike D.
Hello, community, does anyone have experience with using MARC fields in notices? Specifically, we would need to output the contents of some fields/sufields to text in e-mail notice using the template toolkit. For example, $t and $g in field 787. Is this possible? Does anyone have experience with th