Actions
BUG #2444
open[SQA] Improvements Needed in "New Payment" Modal for Sales and Purchase Modules
Description
Improvements Needed in "New Payment" Modal for Sales and Purchase Modules¶
The "New Payment" modal that opens when clicking "+ New Payment" from the Sales or Purchase modules requires the following improvements:
Issues & Suggestions:¶
Auto-generate Invoice Number¶
The invoice number field should be auto-generated to ensure uniqueness and avoid manual input errors.
Improve Date Picker Behavior¶
- The date picker should automatically close after a date is selected.
- A "Close" button should also be available for manual dismissal.
Bank Account Field Should Be Optional (Sales Only)¶
The "Bank Account" field should be optional when creating a payment from the Sales module.
Amount Field Validation¶
- Should not accept negative numbers.
- Should not accept non-numeric characters.
- Only valid positive numbers should be allowed.
Disable Payment Option After Full Payment¶
Once the full amount has been paid:
- The "+ New Payment" button should be hidden or disabled.
- This prevents duplicate or unnecessary payments.
Actions