You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
InvoicesController is expecting numbers for Quantity and UnitAmount and if you submit without these (even if they are deleted), the request is rejected.
Solutions:
Validation on client to ensure legitimate line items have proper data
Line items that are added and deleted in the same session can be discarded. No need to include them in the request
When deleting a line item with no numbers, default to 0
The text was updated successfully, but these errors were encountered:
InvoicesController is expecting numbers for Quantity and UnitAmount and if you submit without these (even if they are deleted), the request is rejected.
Solutions:
The text was updated successfully, but these errors were encountered: