The unit price column is unsigned, so MariaDB refused the negative
product of a credit's quantity and price. The price is now cast to a
signed number before multiplying.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Quick sales of a period by cash day, product, seller and VAT rate, with
credits, open cash days flagged, a chart by day or month and CSV. VAT is
taken out of each day's total of a rate, as on the cash day balance.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>