Koha/reports
Jonathan Druart abbd0eeea9 Bug 9573: Lost items report - Add the CSV export ability
Finally we add the ability to export the list of lost items.
The items will be export in CSV format using a CSV profile defined.

Test plan:
0/ Apply all the patches from this patch set
1/ Define a CSV profile (type=SQL, Usage=Export lost items in report)
Try something like that to get the same columns as the default table:
Title=biblio.title
|Author=biblio.author
|Lost status=items.itemlost
|Lost on=items.itemlost_on
|Barcode=items.barcode
|Call number=items.itemcallnumber
|Date last seen=items.datelastseen
|Price=items.price
|Rep. price=items.replacementprice
|Library=items.homebranch
|item type=items.itype
|Current location=items.holdingbranch
|Location=items.location
|Not for loan status=items.notforloan
|Notes=items.itemnotes
2/ Use the filters and select items to export
3/ Export the list of items you want and make sure the CSV is correctly
formatted and contains the items you selected

QA Notes:
- I think we should add default CSV profiles for the different "usage",
but I would consider it as a separate enhancement since none of them is
defined yet
- Most of the code to export CSV is no reusable. We should make
Koha::Exporter::Record support CSV export for type=SQL (it only
supports MARC type so far).

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-02-17 18:32:14 -03:00
..
acquisitions_stats.pl Bug 19096: Make Default authoritative in core modules 2017-12-07 14:44:15 -03:00
bor_issues_top.pl Bug 17925: Disable debugging in reports/bor_issues_top.pl 2017-05-12 09:09:15 -04:00
borrowers_out.pl Bug 20012: use Modern::Perl in Reports perl scripts 2018-02-05 09:46:44 -03:00
borrowers_stats.pl Bug 8306: Patrons statistics, fix for patron activity choice 2017-02-14 14:11:04 +00:00
cash_register_stats.pl Bug 19551: Fix wrong order of operations in cash register report 2017-12-07 10:09:51 -03:00
cat_issues_top.pl Bug 20012: use Modern::Perl in Reports perl scripts 2018-02-05 09:46:44 -03:00
catalogue_out.pl Bug 20012: use Modern::Perl in Reports perl scripts 2018-02-05 09:46:44 -03:00
catalogue_stats.pl Bug 20012: use Modern::Perl in Reports perl scripts 2018-02-05 09:46:44 -03:00
dictionary.pl Bug 20012: use Modern::Perl in Reports perl scripts 2018-02-05 09:46:44 -03:00
guided_reports.pl Bug 20031: CGI param in list context warn in guided_reports.pl 2018-02-02 12:08:43 -03:00
issues_avg_stats.pl Bug 20012: use Modern::Perl in Reports perl scripts 2018-02-05 09:46:44 -03:00
issues_stats.pl Bug 19671: Map itemtypes to hash for correct display in issues_stats.pl 2018-02-13 12:50:18 -03:00
itemslost.pl Bug 9573: Lost items report - Add the CSV export ability 2018-02-17 18:32:14 -03:00
itemtypes.plugin Revert "Bug 19669: (QA follow-up) Remove itemstypes.plugin" 2018-01-30 12:24:48 -03:00
manager.pl Bug 20012: use Modern::Perl in Reports perl scripts 2018-02-05 09:46:44 -03:00
orders_by_fund.pl Bug 18260: Koha::Biblio - Remove GetBiblio 2017-07-10 13:03:38 -03:00
reports-home.pl Bug 20012: use Modern::Perl in Reports perl scripts 2018-02-05 09:46:44 -03:00
reserves_stats.pl Bug 17835: Replace GetItemTypes with Koha::ItemTypes 2017-04-14 10:43:51 -04:00
serials_stats.pl Bug 20012: use Modern::Perl in Reports perl scripts 2018-02-05 09:46:44 -03:00
stats.print.pl Bug 20185: Remove warnings from stats.print.pl 2018-02-16 13:03:58 -03:00