[Bug 38934] New: for ACCOUNT_CREDIT and ACCOUNT_CREDIT notices the debit and credit fields are not selectable in fields list
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38934 Bug ID: 38934 Summary: for ACCOUNT_CREDIT and ACCOUNT_CREDIT notices the debit and credit fields are not selectable in fields list Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Notices Assignee: koha-bugs@lists.koha-community.org Reporter: mathsabypro@gmail.com QA Contact: testopia@bugs.koha-community.org For ACCOUNT_CREDIT and ACCOUNT_CREDIT notices you need to use "debit" and "credit" fields (debit.description, etc). But in the list of fields on the left ("Message body"), you don't currently have the ability to select those fields -- 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=38934 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- The list on the side only works for Non-TT, I feel this is a WONTFIX as we are moving towards deprecating "hungry alligators" and adding TT to the notices editor in some way. -- 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=38934 --- Comment #2 from Mathieu Saby <mathsabypro@gmail.com> --- Oh I did not know it was only usable with hungry alligators. But then, how do you know the complete list of usable fields when you write a notice with TT ? -- 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=38934 --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Mathieu Saby from comment #2)
Oh I did not know it was only usable with hungry alligators. But then, how do you know the complete list of usable fields when you write a notice with TT ?
If you add fields form the list they will appear like << borrowers.surname >> in the notice. But for TT you'd need [% borrower.surname %] for example. Also, you can "pull in" a lot of information via the object methods and chaining, so the list would not be as fixed as it is now (which is super nice, but makes it much harder to document and implement a nice editor) Documentation is not quite where it should be. What we got: - bug 15278 - bug 15279 - bug 34472 (also have a look at the linked bugs) In the wiki these are helpful: https://wiki.koha-community.org/wiki/Notices_with_Template_Toolkit Especially the table at the bottom. But if you see borrower in the list, it doesn't mean you can't get other information through that borrower object - so there is much more available than is visible on first glance. You could for example get the information about the patron's homebranch, their checkouts, their current fees etc. -- 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=38934 --- Comment #4 from Mathieu Saby <mathsabypro@gmail.com> --- When all the standard notice templates are "translated" into TT syntax, will the "alligator" syntax be deprecated from Koha? -- 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=38934 --- Comment #5 from Mathieu Saby <mathsabypro@gmail.com> --- Oh it is Bug 15279 ;-) -- 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=38934 --- Comment #6 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Mathieu Saby from comment #5)
Oh it is Bug 15279 ;-)
Not officially yet, but we are moving that direction. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org