feat(billing): payment terms as a settings-managed dropdown (MAPPS-170) #165
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/mapps-170-payment-terms"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
MAPPS-170: invoice payment terms are now a settings-managed dropdown instead of a free-text field. Depends on PMS-333 (merged) - the server
payment_termslookup + CRUD and theinvoices.payment_term_idFK (with a joinedpayment_term_nameon the response).Settings editor
/settings/payment-terms./payment-terms. A faithful clone of the existing project-type / lookup editors (uses the sharedsave_lookup/delete_lookup/SettingFormModal).Invoice form
Inputis now aSelectpopulated from/payment-terms(active terms, plus the currently-set term even if it was later deactivated, so an existing invoice keeps its value).payment_term_id(the FK) instead of the free-text string; a "No payment term" option clears it.payment_term_name.Notes / scope
UpsertPaymentTermRequest= name/is_default/is_active/sort_order,InvoiceResponsecarriespayment_term_id+payment_term_name, create/update acceptpayment_term_id.Test plan