Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/csv/basket.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

23 lines
911 B
Text

[%- USE Koha -%]
[%- SET delimiter = Koha.Preference( 'CSVDelimiter' ) || ',' -%]
[%- INCLUDE csv_headers/acqui/basket.tt -%]
[%- INCLUDE empty_line.inc -%]
[%- FOREACH r IN rows -%]
"[% r.contractname | html %]"[%- delimiter | html -%]
[% r.ordernumber | html %][%- delimiter | html -%]
[% r.entrydate | html %][%- delimiter | html -%]
[% r.isbn | html %][%- delimiter | html -%]
"[% r.author | html %]"[%- delimiter | html -%]
"[% r.title | html %]"[%- delimiter | html -%]
[% r.publicationyear | html %][%- delimiter | html -%]
"[% r.publishercode | html %]"[%- delimiter | html -%]
"[% r.collectiontitle | html %]"[%- delimiter | html -%]
"[% r.notes | html %]"[%- delimiter | html -%]
[% r.quantity | html %][%- delimiter | html -%]
[% r.rrp | html %][%- delimiter | html -%]
"[% r.deliveryplace | html %]"[%- delimiter | html -%]
"[% r.billingplace | html %]"
[%- INCLUDE empty_line.inc -%]
[%- END -%]