Docs › Releases › 1.37 › Changelog
Recurnix 1.37 changelog
Every change in 1.37, by kind. For what it means and whether to update, read the release notes.
Fixed
- The client portal added up invoices in different currencies and then stamped one currency's symbol on the answer.
PortalDashboardControllersummedbalanceacross a client's unpaid invoices and the view rendered it through$client->currency->format(). A client holding a $131.22 invoice and a €500 one was shown a single figure that was neither. Invoices carry their owncurrency_idandInvoiceServicelets it be set per invoice, so this is reachable, not theoretical. - The ticket form printed the same total with no currency at all - just
number_format, so staff read "3 open - 631.22 due" with nothing saying of what.
Added
CurrencyService::sumConverted()and::formatSum()- the single place that totals amounts spanning currencies. v1.19 fixed this class of bug once and its own note said the answer is "not to convert in two places, it is to have one place". There were three totals; there is now one.CrossCurrencyTotalsTest(7 tests) - including a sweep asserting no file underapp/adds invoice balances raw, and a guard proving that sweep is reading real source rather than passing over an empty list.
Notes
- This came out of re-measuring two entries recorded as unverified, and neither said what was actually wrong. #239 (SVG upload into the web root) is closed and was closed: ticket attachments never leave the private disk, and the one path that does reach
public/uploadsrefuses script-bearing SVGs at upload and serves that directory under a policy permitting nothing executable. #238 named "dashboard widgets", and the widgets were clean - v1.19 had fixed them. The bug was alive in two surfaces the finding never mentioned. A finding that names a location rather than a behaviour sends the next reader to the one place already fixed.