Bug 10854: add ability to export serial claims using CSV profile.
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 10 Sep 2013 13:24:07 +0000 (15:24 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 11 Oct 2013 03:33:30 +0000 (03:33 +0000)
commit383b2a75decf3395f1f27559a481b4b00d0c488b
tree08b5c4bf092140670c6bb2a533360d19749520e9
parent537068f96946831410cc17832724293f5b898e03
Bug 10854: add ability to export serial claims using CSV profile.

Test plan:
- Create a CSV profile (or use the default one) with a type 'sql'.
- Go to serials/claims.pl, select the wanted CSV profile and click on
  the "Export selected items data".
- Verify the CSV file is correctly generated.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Work as described. No koha-qa errors

On top of 10853 (solving merge conflict)

Need to do homework to test. Add subscription and serial claim
notice.

1) Create a new CSV profile, type SQL, copy sample fields
2) Go to claims, select vendor
3) Go to Export selected items with created profile
4) CSV (in my case I use | as separator) download successfully
5) All fields present, file correct

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.
Works as advertised, keeps existing format by porting it to
a SQL profile.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
installer/data/mysql/en/optional/csv_profiles.sql [new file with mode: 0644]
installer/data/mysql/en/optional/csv_profiles.txt [new file with mode: 0644]
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt
serials/claims.pl
serials/lateissues-excel.pl