Project

General

Profile

Actions

BUG #2421

open

[SQA] New Sale Invoice Form – Auto-Generated Invoice Number, Field Validations, and UI Improvements

Added by Md. Abdul Hamid 11 months ago. Updated 10 months ago.

Status:
Complete
Priority:
High
Category:
-
Target version:
-
Start date:
05/13/2025
Due date:
% Done:

100%

Estimated time:
Spent time:

Description

Enhancements are needed in the New Sale Invoice form to improve data accuracy, user experience, and prevent entry errors.

Requirements:

  1. Auto-Generate Invoice Number
    Invoice numbers should be automatically generated by the system (e.g., INV-YYYYMMDD-XXXX format or sequential).

Field should be read-only to prevent manual editing.

Ensures uniqueness and avoids user input errors.

  1. Date Picker with Placeholder
    The invoice Date field should include a placeholder (e.g., Select a date) when empty.

Enhances clarity and user interface consistency.

  1. Sales Officer Field Defaults to Logged-In User
    The Sales Officer field should:

Default to the currently logged-in user.

Be editable so users with permission can assign sales to someone else if needed.

  1. Prevent Duplicate Product Selection for Same Batch
    When adding items to the invoice:

The same product and batch combination should not be selectable more than once.

Prevents duplicate line entries which could cause incorrect totals or stock inconsistencies.

  1. Quantity and Price per Unit Validations
    The Quantity and Price/Unit fields must:

Reject negative numbers.

Accept only positive numeric values (including decimals where appropriate).

Provide user-friendly error messages for invalid entries.

Actions #1

Updated by Nazmul Hossain Shovon 10 months ago

  • Status changed from Pending to In Progress

we will show the current date by default

Actions #2

Updated by Nazmul Hossain Shovon 10 months ago

we will keep the sales officer field empty by default

Actions #3

Updated by Nazmul Hossain Shovon 10 months ago

  • Assignee set to Md. Abdul Hamid
Actions #4

Updated by Md. Abdul Hamid 10 months ago

  • Status changed from In Progress to Complete
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF