[Bug 32485] New: Add itemtype checkout message
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32485 Bug ID: 32485 Summary: Add itemtype checkout message Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: lucas@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com For itemtypes we have checkinmsg. Some libraries would be interested in also having a checkout message that could be configured at the item type level. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32485 Sara Brown <sbrown@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sbrown@bywatersolutions.com --- Comment #1 from Sara Brown <sbrown@bywatersolutions.com> --- +1 This would be really helpful when the message is the same for all items of the type vs. having to manually add a materials specified note to each applicable item! -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32485 hebah@bywatersolutions.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hebah@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32485 Sam Lau <samalau@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32485 --- Comment #2 from Sam Lau <samalau@gmail.com> --- Created attachment 170113 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=170113&action=edit Bug 32485: Schema Updates (DO NOT PUSH) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32485 --- Comment #3 from Sam Lau <samalau@gmail.com> --- Created attachment 170114 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=170114&action=edit Bug 32485: DB Updates Add new 'checkoutmsg' and 'checkoutmsgtype' columns to 'itemtypes' -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32485 --- Comment #4 from Sam Lau <samalau@gmail.com> --- Created attachment 170115 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=170115&action=edit Bug 32485: Add itemtype checkout message These patches add new "Checkout message: " and "Checkout message type:" options for item types. When checking out an item, a dialog box appears with the desired message for that item type. To test: 1) Apply patch, updatedatabase, dbic (for schema), restart_all 2) Visit Administration->Item types 3) Edit the book item type and enter a checkout message. Save your changes. 4) Checkout an item of type book to a patron 5) Your checkout message should be displayed 6) Go back to Admin->Item types, edit book, and then switch the 'Checkout message type:' to 'Alert' 7) Checkout another book item and note the dialog box is now an alert. 8) Checkout item of another type -> the message should not show -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32485 --- Comment #5 from Sam Lau <samalau@gmail.com> --- Created attachment 170116 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=170116&action=edit Bug 32485: Unit tests prove t/Koha/ItemType.t -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32485 Sam Lau <samalau@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |samalau@gmail.com |ity.org | CC| |samalau@gmail.com -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32485 Roman Dolny <roman.dolny@jezuici.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA CC| |roman.dolny@jezuici.pl --- Comment #6 from Roman Dolny <roman.dolny@jezuici.pl> --- Two notes after testing: 1. there is no "Checkout message" column in item types table (Administration->Item types), 2. probably checkout messages should be placed in messages section (id="messages") not in mainform (id="mainform"). QA script: WARN Koha/Schema/Result/Itemtype.pm WARN tidiness The file is less tidy than before (bad/messy lines before: 77, now: 86) WARN admin/itemtypes.pl WARN tidiness The file is less tidy than before (bad/messy lines before: 62, now: 66) WARN circ/circulation.pl WARN tidiness The file is less tidy than before (bad/messy lines before: 285, now: 290) WARN t/Koha/ItemType.t WARN tidiness The file is less tidy than before (bad/messy lines before: 0, now: 7) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32485 --- Comment #7 from Sam Lau <samalau@gmail.com> --- Created attachment 170503 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=170503&action=edit Bug 32485: Add checkout message to item types table and fix display location of checkout message -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32485 --- Comment #8 from Sam Lau <samalau@gmail.com> --- (In reply to Roman Dolny from comment #6)
1. there is no "Checkout message" column in item types table (Administration->Item types),
Fixed this.
2. probably checkout messages should be placed in messages section (id="messages") not in mainform (id="mainform").
Not exactly, that's included in messages.inc which is used in a lot of different places. However, I moved the dialog message/alert to the top of the screen, around where the messages div resides.
QA script: WARN These are all unrelated to my changes.
However, still not ready for testing... noticed that checkin_message is utilized in SIP, thus, checkout message should probably be there too, so still some work to be done here. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32485 Koha collecto <koha@collecto.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |koha@collecto.ca --- Comment #9 from Koha collecto <koha@collecto.ca> --- +1 would be nice ! -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org