Koha/koha-tmpl/intranet-tmpl/prog/en/modules/reports
Owen Leonard 0906773333 Bug 20807: Lost items report: Improve the display of CSV profile errors
This patch modifies the template for the lost items report to change the
way it handles a missing CSV profile. Now, if there is a missing CSV
profile, a message is displayed with details about the profile
requirements. If the logged-in user has the right permission there is a
link to the CSV profiles page.

Since item selection is used only in conjunction with exporting results,
item selection controls are all hidden when there is no valid CSV
profile.

To test, apply the patch go to Reports -> Lost items.

 - Run the report with parameters which will return results.
 - If your system has no CSV profile for exporting lost items:
   - If you are logged in as a user with manage_csv_profiles permission:
     - You should see a message dialog instructing you to create a CSV
       profile with a link to the CSV profiles page.
   - If you are not logged in as a user with manage_csv_profiles
     permission:
     - You should see a similar message but without a link to the CSV
       profiles page.
   - In both cases, with no CSV profile defined there should be no
     checkboxes in the table of results and no "select all/clear all"
     controls.
 - If your system has a valid CSV profile for exporting lost items:
   - Checking the checkbox for one or more items in the table should
     trigger the display of an "Export selected items" link.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-07-18 19:11:34 +00:00
..
csv Bug 18331: POST_CHOMP everywhere! 2017-08-15 12:17:41 -03:00
acquisitions_stats.tt Bug 19663: Move JS to the footer: Reports 2017-12-14 16:58:22 -03:00
bor_issues_top.tt Bug 19663: Move JS to the footer: Reports 2017-12-14 16:58:22 -03:00
borrowers_out.tt Bug 19663: Move JS to the footer: Reports 2017-12-14 16:58:22 -03:00
borrowers_stats.tt Bug 19663: Move JS to the footer: Reports 2017-12-14 16:58:22 -03:00
cash_register_stats.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
cat_issues_top.tt Bug 19663: Move JS to the footer: Reports 2017-12-14 16:58:22 -03:00
catalogue_out.tt Bug 17835: Replace GetItemTypes with Koha::ItemTypes 2017-04-14 10:43:51 -04:00
catalogue_stats.tt Bug 19663: Move JS to the footer: Reports 2017-12-14 16:58:22 -03:00
convert_report.tt Bug 18667: Show a diff view of SQL reports when converting 2017-07-13 16:39:04 -03:00
dictionary.tt Bug 20372: Correct toolbar markup on some pages 2018-03-19 13:55:53 -03:00
guided_reports_start.tt Bug 20814: Display issue with 'Saved reports' tabs when memcached is off 2018-07-13 12:37:34 +00:00
issues_avg_stats.tt Bug 19663: Move JS to the footer: Reports 2017-12-14 16:58:22 -03:00
issues_stats.tt Bug 19663: Move JS to the footer: Reports 2017-12-14 16:58:22 -03:00
itemslost.tt Bug 20807: Lost items report: Improve the display of CSV profile errors 2018-07-18 19:11:34 +00:00
itemtypes.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
orders_by_budget.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
reports-home.tt Bug 11317: (QA follow-up) Fix merge error and punctuation 2018-05-03 13:26:50 -03:00
reserves_stats.tt Bug 19663: Move JS to the footer: Reports 2017-12-14 16:58:22 -03:00
serials_stats.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00