Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/csv/lateorders.tt
Mazen Khallaf 71c1aa44a9 Bug 27486: Rename system preference delimiter to CSVDelimiter
Test Plan:

1. Go to Administration
2. Go to System Preferences
3. Find 'delimiter' (note the name)
4. Apply patch
5. Repeat step 1 and 2
6. Find 'CSVDelimiter' (note the name)

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-01-29 09:03:45 +01:00

25 lines
1.2 KiB
Text

[%- USE Koha -%]
[%- SET delimiter = Koha.Preference( 'CSVDelimiter' ) || ',' -%]
[%- USE KohaDates -%]
[%- INCLUDE csv_headers/acqui/lateorders.tt -%]
[%- INCLUDE empty_line.inc -%]
[%- FOREACH o IN orders -%]
"[% o.orderdate | $KohaDates %] ([% o.latesince | html %] days)"[%- delimiter | html -%]
"[% o.estimateddeliverydate | $KohaDates %]"[%- delimiter | html -%]
"[% o.supplier (o.supplierid) | html %]"[%- delimiter | html -%]
"[% o.title | html %] [% IF o.author %]Author: [% o.author | html %].[% END %][% IF o.publisher %]Published by: [% o.publisher | html %].[% END %]"[%- delimiter | html -%]
"[% o.unitpricesupplier | html %] x [% o.quantity_to_receive | html %] = [% o.subtotal | html %] ([% o.budget | html %])"[%- delimiter | html -%]
"[% o.basketname | html %] ([% o.basketno | html %])"[%- delimiter | html -%]
"[% o.claims_count | html %]"[%- delimiter | html -%]
"[% o.claimed_date | $KohaDates %]"[%- delimiter | html -%]
"[% o.internalnote | html %]"[%- delimiter | html -%]
"[% o.vendornote | html %]"[%- delimiter | html -%]
"[% o.isbn | html %]"
[%- INCLUDE empty_line.inc -%]
[%- END -%]
[%- delimiter | html -%]
[%- delimiter | html -%]
"Total orders in late"[%- delimiter | html -%]
[% orders.size | html %]