https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41575

--- Comment #17 from Paul Derscheid <[email protected]> ---
Created attachment 194770
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194770&action=edit
Bug 41575: (QA follow-up) Fix register description interpolation in cashup
modal

- The tidy replaced TT interpolation with a JS template literal
  expression but left it inside single quotes instead of using
  backticks or string concatenation
- This caused the cashup confirmation dialog to show "Confirm cashup
  of" with no register name
- The incorrect syntax also silently swallowed quote formatting that
  the auto tidy would normally have applied
- Use string concatenation to match the surrounding code style

Test plan:
- Go to Point of sale, make a sale
- Navigate to Cash summary
- Click "Record cashup" on a register row
- Verify the dialog says "Confirm cashup of <register name>"
  instead of "Confirm cashup of"

Signed-off-by: Paul Derscheid <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to