Export Invoice v0.5.2
What's new in v0.5.2
Bug fix — Invoice qty field resets after selecting a Purchase Order
- Fixed a regression where typing in the Qty (or Unit Price) field on the invoice form would reset the input after every digit, but only after a Purchase Order had been selected
- Root cause:
updateTotalcalledsetValue('total_amount', …)on each keystroke, which notifieduseFieldArray's items subscriber and causedGoodsRowto re-render, re-attaching the RHF ref and overwriting the partial input value - Fix: removed reactive
total_amountmaintenance from the onChange handler; row totals and footer totals now compute live fromqty × unit_priceviauseWatch;total_amountis recomputed at submit time before saving
Download the installer below (.msi for enterprise/silent install, .exe for standard setup).