3c83e11786
This patch allows the user to use a CSV export profile to create the fields to export the basket as CSV in a basket page. Test plan: 1) Apply the patch 2) Go to Tools › CSV export profiles and create a profile of type "SQL for basket export in acquisition" example: biblionumber=biblio.biblionumber|auteur=biblio.author|titre=biblio.title|date=biblioitems.copyrightdate|editeur=biblioitems.publishercode|isbn=biblioitems.isbn|quantite=aqorders.quantity|prix=aqorders.rrp|panier=aqorders.basketno 3) In acquisition module, create a new basket and add an order to the basket 4) On basket detail page, there should be the split button labelled "Export to CSV" 5) Try to use the button and export CSV with your CSV profile you defined in step 2 6) Validate the CSV file. 7) Repeat 4-6 with a closed basket. a) close the basket b) View the basket c) validate that there is an export button d) test it with an export 8) prove t/db_dependent/Acquisition/GetBasketAsCSV.t t/db_dependent/Koha/CsvProfiles.t Initial work: Sponsored by: CCSR Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: mehdi <mehdi.hamidi@inlibro.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> |
||
---|---|---|
.. | ||
acqui-search-result.pl | ||
acqui-search.pl | ||
add_fields.pl | ||
add_user_search.pl | ||
checkexpiration.pl | ||
claims.pl | ||
create-numberpattern.pl | ||
lateissues-export.pl | ||
reorder_members.pl | ||
routing-preview.pl | ||
routing.pl | ||
serial-issues.pl | ||
serials-collection.pl | ||
serials-edit.pl | ||
serials-home.pl | ||
serials-search.pl | ||
showpredictionpattern.pl | ||
subscription-add.pl | ||
subscription-bib-search.pl | ||
subscription-detail.pl | ||
subscription-frequencies.pl | ||
subscription-frequency.pl | ||
subscription-history.pl | ||
subscription-numberpattern.pl | ||
subscription-numberpatterns.pl | ||
subscription-renew.pl | ||
viewalerts.pl |