View | Details | Raw Unified | Return to bug 16914
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc (-1 / +1 lines)
Lines 2-5 Link Here
2
[%- USE Koha -%]
2
[%- USE Koha -%]
3
[%- biblio = item.biblio -%]
3
[%- biblio = item.biblio -%]
4
[%- biblioitem = item.biblioitem -%]
4
[%- biblioitem = item.biblioitem -%]
5
"[% biblio.title |html %] [% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %]by [% END %][% biblio.author |html %]", "[% (biblioitem.publicationyear || biblio.copyrightdate) |html %]", "[% biblioitem.publishercode |html %]", "[% biblioitem.collectiontitle |html %]", "[% item.barcode |html %]", "[% item.itemcallnumber |html %]", "[% Branches.GetName(item.homebranch) |html %]", "[% Branches.GetName(item.holdingbranch) |html %]", "[% item.location |html %]", "[% item.stocknumber |html %]", "[% item.status |html %]", "[% (item.issues || 0) |html %]"[% INCLUDE 'empty_line.inc' %]
5
"[% biblio.title |html %] [% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %]by [% END %][% biblio.author |html %]", "[% (biblioitem.publicationyear || biblio.copyrightdate) |html %]", "[% biblioitem.publishercode |html %]", "[% biblioitem.collectiontitle |html %]", "[% item.barcode |html %]", "[% item.itemcallnumber |html %]", "[% Branches.GetName(item.homebranch) |html %]", "[% Branches.GetName(item.holdingbranch) |html %]", "[% item.location |html %]", "[% item.stocknumber |html %]", "[% item.status |html %]", "[% (item.issues || 0) |html %]"
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/csv/lateorders.tt (-4 / +5 lines)
Lines 1-5 Link Here
1
[% USE KohaDates %][% INCLUDE csv_headers/acqui/lateorders.tt %]
1
[%- USE KohaDates -%]
2
[% FOREACH o IN orders %][% INCLUDE 'empty_line.inc' %]"[% o.orderdate %] ([% o.latesince %] days)","[% o.estimateddeliverydate | $KohaDates %]","[% o.supplier (o.supplierid) %]","[% o.title %] [% IF o.author %]Author: [% o.author %].[% END %][% IF o.publisher %]Published by: [% o.publisher %].[% END %]","[% o.unitpricesupplier %] x [% o.quantity_to_receive %] = [% o.subtotal %] ([% o.budget %])","[% o.basketname %] ([% o.basketno %])","[% o.claims_count %]","[% o.claimed_date %]"
2
[%- INCLUDE csv_headers/acqui/lateorders.tt +%]
3
[% END %]
3
[% FOREACH o IN orders %]
4
[% INCLUDE 'empty_line.inc' %]
4
"[% o.orderdate %] ([% o.latesince %] days)","[% o.estimateddeliverydate | $KohaDates %]","[% o.supplier (o.supplierid) %]","[% o.title %] [% IF o.author %]Author: [% o.author %].[% END %][% IF o.publisher %]Published by: [% o.publisher %].[% END %]","[% o.unitpricesupplier %] x [% o.quantity_to_receive %] = [% o.subtotal %] ([% o.budget %])","[% o.basketname %] ([% o.basketno %])","[% o.claims_count %]","[% o.claimed_date +%]"
5
[% END +%]
5
,,Total orders in late, [% orders.size %]
6
,,Total orders in late, [% orders.size %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch_csv.tt (-2 / +1 lines)
Lines 1-4 Link Here
1
[% INCLUDE csv_headers/catalogue/itemsearch.tt %]
1
[% INCLUDE csv_headers/catalogue/itemsearch.tt %]
2
[% FOREACH item IN results -%]
2
[% FOREACH item IN results -%]
3
  [%- INCLUDE 'catalogue/itemsearch_item.csv.inc' item = item -%]
3
  [% INCLUDE 'catalogue/itemsearch_item.csv.inc' item = item +%]
4
[%- END -%]
4
[%- END -%]
5
- 

Return to bug 16914