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

36 lines
1.6 KiB
Text

[%- USE Koha -%]
[%- SET delimiter = Koha.Preference( 'CSVDelimiter' ) || ',' -%]
[%- USE Price -%]
[%- INCLUDE csv_headers/acqui/basketgroup.tt -%]
[%- INCLUDE empty_line.inc -%]
[%- FOREACH r IN rows -%]
[% r.clientnumber | html %][%- delimiter | html -%]
"[% r.basketname | html %]"[%- delimiter | html -%]
[% r.ordernumber | html %][%- delimiter | html -%]
"[% r.author | html %]"[%- delimiter | html -%]
"[% r.title | html %]"[%- delimiter | html -%]
"[% r.publishercode | html %]"[%- delimiter | html -%]
[% r.publicationyear | html %][%- delimiter | html -%]
"[% r.collectiontitle | html %]"[%- delimiter | html -%]
[% r.isbn | html %][%- delimiter | html -%]
[% r.quantity | html %][%- delimiter | html -%]
[% r.rrp_tax_included | $Price %][%- delimiter | html -%]
[% r.rrp_tax_excluded | $Price %][%- delimiter | html -%]
[% r.discount | html %][%- delimiter | html -%]
[% r.ecost_tax_included | $Price %][%- delimiter | html -%]
[% r.ecost_tax_excluded | $Price %][%- delimiter | html -%]
"[% r.notes | html %]"[%- delimiter | html -%]
[% r.entrydate | html %][%- delimiter | html -%]
"[% r.booksellername | html %]"[%- delimiter | html -%]
"[% r.bookselleraddress | html %]"[%- delimiter | html -%]
"[% r.booksellerpostal | html %]"[%- delimiter | html -%]
[% r.contractnumber | html %][%- delimiter | html -%]
"[% r.contractname | html %]"[%- delimiter | html -%]
"[% r.basketgroupdeliveryplace | html %]"[%- delimiter | html -%]
"[% r.basketgroupbillingplace | html %]"[%- delimiter | html -%]
"[% r.basketdeliveryplace | html %]"[%- delimiter | html -%]
"[% r.basketbillingplace | html %]"
[%- INCLUDE empty_line.inc -%]
[%- END -%]