Bug 34332

Summary: Syntax error in point of sale email template
Product: Koha Reporter: Laura Escamilla <Laura.escamilla>
Component: Fines and feesAssignee: Laura Escamilla <Laura.escamilla>
Status: CLOSED FIXED QA Contact: Katrin Fischer <katrin.fischer>
Severity: trivial    
Priority: P5 - low CC: fridolin.somers, lucas
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
23.11.00,23.05.03,22.11.09
Circulation function:
Bug Depends on: 24381    
Bug Blocks: 34340    
Attachments: Bug 34332: Removed extra parenthesis that was causing an error
Bug 34332: Removed extra parenthesis that was causing an error

Description Laura Escamilla 2023-07-20 18:21:43 UTC
To recreate: 
1. Configure your Koha to enable the point of sale system.
2. Go to Tools > Notices and Slips > Point of Sale Receipt
3. View the Email template - the error “file error - parse error - input text line 16: unexpected token ()) [% payment.library.branchname) | html %]” is showing
Comment 1 Laura Escamilla 2023-07-20 18:25:06 UTC
Created attachment 153741 [details] [review]
Bug 34332: Removed extra parenthesis that was causing an error

To test: 
1. Configure your Koha to enable the point of sale system.
2. Go to Tools > Notices and Slips > Point of Sale Receipt
3. View the Email template - the error “file error - parse error - input text line 16: unexpected token ()) [% payment.library.branchname) | html %]” is showing
4. Apply patch
5. Error has been resolved and email notices can be sent. 
6. Sign off!
Comment 2 Laura Escamilla 2023-07-20 20:10:58 UTC Comment hidden (obsolete)
Comment 3 Katrin Fischer 2023-07-21 13:23:16 UTC
Created attachment 153789 [details] [review]
Bug 34332: Removed extra parenthesis that was causing an error

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Comment 4 Katrin Fischer 2023-07-21 13:24:37 UTC
Using my super-powers to put this straight to PQA. Thx Laura, it's always the little things!
Comment 5 Laura Escamilla 2023-07-21 13:33:41 UTC
(In reply to Katrin Fischer from comment #4)
> Using my super-powers to put this straight to PQA. Thx Laura, it's always
> the little things!

Thank you, Katrin!
Comment 6 Tomás Cohen Arazi (tcohen) 2023-07-21 20:15:35 UTC
Pushed to master for 23.11.

Nice work everyone, thanks!
Comment 7 Fridolin Somers 2023-08-04 02:07:29 UTC
Pushed to 23.05.x for 23.05.03
Comment 8 Pedro Amorim 2023-08-18 13:51:11 UTC
Nice work everyone!

Pushed to 22.11.x for next release