Lines 1-7
Link Here
|
|
|
1 |
[%- USE raw -%] |
1 |
[%- USE Branches -%] |
2 |
[%- USE Branches -%] |
2 |
[%- USE Koha -%] |
3 |
[%- USE Koha -%] |
3 |
[%- USE ItemTypes -%] |
4 |
[%- USE ItemTypes -%] |
4 |
[%- USE AuthorisedValues -%] |
5 |
[%- USE AuthorisedValues -%] |
5 |
[%- SET biblio = item.biblio -%] |
6 |
[%- SET biblio = item.biblio -%] |
6 |
[%- SET biblioitem = item.biblioitem -%] |
7 |
[%- SET biblioitem = item.biblioitem -%] |
7 |
"[% biblio.title | html %] [% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %]by [% END %][% biblio.author | html %]", "[% (biblioitem.publicationyear || biblio.copyrightdate) | html %]", "[% biblioitem.publishercode | html %]", "[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %]", "[% item.barcode | html %]", "[% item.itemcallnumber | html %]", "[% Branches.GetName(item.homebranch) | html %]", "[% Branches.GetName(item.holdingbranch) | html %]", "[% AuthorisedValues.GetDescriptionByKohaField(frameworkcode => biblio.frameworkcode, kohafield => 'items.location', authorised_value => item.location) | html %]", "[% ItemTypes.GetDescription(item.itype) | html %]", "[% item.stocknumber | html %]", "[% AuthorisedValues.GetDescriptionByKohaField(frameworkcode => biblio.frameworkcode, kohafield => 'items.notforloan', authorised_value => item.notforloan) | html %]","[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => item.itemlost ) || "" | html %]","[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn ) || "" | html %]", "[% (item.issues || 0) | html %]" |
8 |
[%- SET delimiter = Koha.Preference( 'delimiter' ) || ',' -%] |
|
|
9 |
"[% biblio.title | replace('"', '""') | $raw %] [% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %]by [% END %][% biblio.author | replace('"', '""') | $raw %]" |
10 |
[%- delimiter | $raw -%] |
11 |
"[% (biblioitem.publicationyear || biblio.copyrightdate) | replace('"', '""') | $raw %]" |
12 |
[%- delimiter | $raw -%] |
13 |
"[% biblioitem.publishercode | replace('"', '""') | $raw %]" |
14 |
[%- delimiter | $raw -%] |
15 |
"[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | replace('"', '""') | $raw %]" |
16 |
[%- delimiter | $raw -%] |
17 |
"[% item.barcode | replace('"', '""') | $raw %]" |
18 |
[%- delimiter | $raw -%] |
19 |
"[% item.itemcallnumber | replace('"', '""') | $raw %]" |
20 |
[%- delimiter | $raw -%] |
21 |
"[% Branches.GetName(item.homebranch) | replace('"', '""') | $raw %]" |
22 |
[%- delimiter | $raw -%] |
23 |
"[% Branches.GetName(item.holdingbranch) | replace('"', '""') | $raw %]" |
24 |
[%- delimiter | $raw -%] |
25 |
"[% AuthorisedValues.GetDescriptionByKohaField(frameworkcode => biblio.frameworkcode, kohafield => 'items.location', authorised_value => item.location) | replace('"', '""') | $raw %]" |
26 |
[%- delimiter | $raw -%] |
27 |
"[% ItemTypes.GetDescription(item.itype) | replace('"', '""') | $raw %]" |
28 |
[%- delimiter | $raw -%] |
29 |
"[% item.stocknumber | replace('"', '""') | $raw %]" |
30 |
[%- delimiter | $raw -%] |
31 |
"[% AuthorisedValues.GetDescriptionByKohaField(frameworkcode => biblio.frameworkcode, kohafield => 'items.notforloan', authorised_value => item.notforloan) | replace('"', '""') | $raw %]" |
32 |
[%- delimiter | $raw -%] |
33 |
"[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => item.itemlost ) || "" | replace('"', '""') | $raw %]" |
34 |
[%- delimiter | $raw -%] |
35 |
"[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.withdrawn', authorised_value => item.withdrawn ) || "" | replace('"', '""') | $raw %]" |
36 |
[%- delimiter | $raw -%] |
37 |
"[% (item.issues || 0) | $raw %]" |