]> git.koha-community.org Git - koha.git/blob - installer/data/mysql/de-DE/optional/csv_profiles.sql
Bug 24163: Add the new CSV profile to other installer files
[koha.git] / installer / data / mysql / de-DE / optional / csv_profiles.sql
1 INSERT IGNORE INTO export_format( profile, description, content, csv_separator, type, used_for )
2 VALUES ( "Zeitschriftenreklamationen", "Standardprofil für den Export von Heftinformationen für Zeitschriftenreklamationen", "LIEFERANT=aqbooksellers.name|TITEL=subscription.title|HEFTNUMMER=serial.serialseq|VERSPÄTET SEIT=serial.planneddate", ",", "sql", "late_issues" ),
3 ("Late orders (CSV profile)", "Default CSV export for late orders", 'Title[% separator %]Author[% separator %]Publication year[% separator %]ISBN[% separator %]Quantity[% separator %]Number of claims
4 [% FOR order IN orders ~%]
5 [%~ SET biblio = order.biblio ~%]
6 "[% biblio.title %]"[% separator ~%]
7 "[% biblio.author %]"[% separator ~%]
8 "[% bibio.biblioitem.publicationyear %]"[% separator ~%]
9 "[% biblio.biblioitem.isbn %]"[% separator ~%]
10 "[% order.quantity%]"[% separator ~%]
11 "[% order.claims.count%][% IF order.claims.count %]([% FOR c IN order.claims %][% c.claimed_on | $KohaDates %][% UNLESS loop.last %], [% END %][% END %])[% END %]"
12 [% END %]', ",", "sql", "late_orders");