if( CheckVersion( $DBversion ) ) {
$dbh->do(q{
INSERT IGNORE INTO export_format( profile, description, content, csv_separator, type, used_for ) VALUES
- ("Late orders (csv profile)", "default CSV export for late orders", 'Title[% separator %]Author[% separator %]Publication year[% separator %]ISBN[% separator %]Quantity[% separator %]Number of claims
+ ("Late orders (CSV profile)", "Default CSV export for late orders", 'Title[% separator %]Author[% separator %]Publication year[% separator %]ISBN[% separator %]Quantity[% separator %]Number of claims
[% FOR order IN orders ~%]
[%~ SET biblio = order.biblio ~%]
"[% biblio.title %]"[% separator ~%]
multiline: [ content ]
rows:
- profile: "issues to claim"
- description: "default CSV export for serial issue claims"
+ description: "Default CSV export for serial issue claims"
content:
- "SUPPLIER=aqbooksellers.name|TITLE=subscription.title|ISSUE NUMBER=serial.serialseq|LATE SINCE=serial.planneddate"
csv_separator: ","
type: sql
used_for: late_issues
- - profile: "Late orders (csv profile)"
- description: "default CSV export for late orders"
+ - profile: "Late orders (CSV profile)"
+ description: "Default CSV export for late orders"
content:
- 'Title[% separator %]Author[% separator %]Publication year[% separator %]ISBN[% separator %]Quantity[% separator %]Number of claims'
- '[% FOR order IN orders ~%]'
<p>Example: Name=subscription.name|Title=subscription.title|Issue number=serial.serialseq</p>
<p>For late issues claims you can use data from following tables: serial, subscription, biblio, biblioitems and aqbookseller.</p>
<p>For basket exports you can use data from following tables: biblio, biblioitems, aqorders, aqbudgets and aqbasket.</p>
- <p>For late orders exports you must provide a Template Toolkit syntax that will generate the whole CSV file..</p>
+ <p>For exporting late orders you must provide a profile in Template Toolkit syntax to generate the CSV file.</p>
</li>
</ol>
</fieldset>