It would be nice if the account summary slip was fully customizable, but as a first step it woudl be nice if the columns in the table of checkouts was configurable. For a library that doesn't charge any fines and fees it would be nice to be able to fully remove these columns. There are also not many classes/ids to use here, I had tried to remove these columns using jQuery, but couldn't get it to work quite rigth with the summarized columns in the last line of the table.
Created attachment 126088 [details] [review] Bug 28450: Make Account summary print tables configurable This patch adds table settings for the three tables which appear on the patron's "Print summary" view. This will allow the administrator to set a default configuration for columns on the print summary page. To test, apply the patch and restart-all to load the revised columns settings YAML. Rebuild the staff interface SCSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client). - Go to Administration -> Table settings -> Circulation. - Under the "Circulation tables" heading you should see a "Jump to" link to "print_summary." - In the settings for the print_summary page you should see three tables: print-summary-checkouts, print-summary-fines, and print-summary-holds. - Locate a patron account which has checkouts, fines, and holds. - From the patron detail view click "Print -> Print summary." - A new window should open with the print summary view. All tables should display correctly. - Test that the "Columns" buttons work correctly to show and hide columns. - Make changes to the default settings for these tables to confirm that they work on the print summary page.
Created attachment 126134 [details] [review] Bug 28450: Make Account summary print tables configurable This patch adds table settings for the three tables which appear on the patron's "Print summary" view. This will allow the administrator to set a default configuration for columns on the print summary page. To test, apply the patch and restart-all to load the revised columns settings YAML. Rebuild the staff interface SCSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client). - Go to Administration -> Table settings -> Circulation. - Under the "Circulation tables" heading you should see a "Jump to" link to "print_summary." - In the settings for the print_summary page you should see three tables: print-summary-checkouts, print-summary-fines, and print-summary-holds. - Locate a patron account which has checkouts, fines, and holds. - From the patron detail view click "Print -> Print summary." - A new window should open with the print summary view. All tables should display correctly. - Test that the "Columns" buttons work correctly to show and hide columns. - Make changes to the default settings for these tables to confirm that they work on the print summary page. Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
I see that some tables have "cannot be toggled" greyed out by default. This might be a nice addition here too, but doesn't appear to be done consistently yet (OPAC tables) and so not a blocker for me.
Created attachment 127122 [details] [review] Bug 28450: Make Account summary print tables configurable This patch adds table settings for the three tables which appear on the patron's "Print summary" view. This will allow the administrator to set a default configuration for columns on the print summary page. To test, apply the patch and restart-all to load the revised columns settings YAML. Rebuild the staff interface SCSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client). - Go to Administration -> Table settings -> Circulation. - Under the "Circulation tables" heading you should see a "Jump to" link to "print_summary." - In the settings for the print_summary page you should see three tables: print-summary-checkouts, print-summary-fines, and print-summary-holds. - Locate a patron account which has checkouts, fines, and holds. - From the patron detail view click "Print -> Print summary." - A new window should open with the print summary view. All tables should display correctly. - Test that the "Columns" buttons work correctly to show and hide columns. - Make changes to the default settings for these tables to confirm that they work on the print summary page. Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Created attachment 127245 [details] [review] Bug 28450: Make Account summary print tables configurable This patch adds table settings for the three tables which appear on the patron's "Print summary" view. This will allow the administrator to set a default configuration for columns on the print summary page. To test, apply the patch and restart-all to load the revised columns settings YAML. Rebuild the staff interface SCSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client). - Go to Administration -> Table settings -> Circulation. - Under the "Circulation tables" heading you should see a "Jump to" link to "print_summary." - In the settings for the print_summary page you should see three tables: print-summary-checkouts, print-summary-fines, and print-summary-holds. - Locate a patron account which has checkouts, fines, and holds. - From the patron detail view click "Print -> Print summary." - A new window should open with the print summary view. All tables should display correctly. - Test that the "Columns" buttons work correctly to show and hide columns. - Make changes to the default settings for these tables to confirm that they work on the print summary page. Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Last patch removes changes to staff-global.css (it contains git conflict markers).
Pushed to master for 21.11, thanks to everybody involved!