Feature #9500
openQuotation Email Subject Showing "Revised" Incorrectly on First Send and Testing issues fix
Start date:
07/01/2026
Due date:
07/01/2026 (34 days late)
% Done:
100%
Estimated time:
8:00 h
Spent time:
Subtasks
Related issues
Updated by Ramu Kodali about 1 month ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Identified and resolved a bug in the quotation module where the email sent to customers upon the first quotation upload was incorrectly labelled as "Revised Quotation Approval" instead of "Quotation Approval". The issue was in quotationService.js within the updateQuotationService function, which always used the "Revised" label regardless of whether it was the first or a subsequent send. The fix adds a check on the documents array length — if only one document exists, the email uses the standard "Quotation Approval" subject and body (matching the create flow); if two or more documents exist, it correctly uses "Revised Quotation Approval" to indicate an updated version was sent to the customer.