Task #18743
Updated by Redmine Admin 3 months ago
A user should have the ability to cancel or reject an RFQ if he does not wish to process.
### **Acceptance Criteria:**
1. **Cancel/Reject Action**
* On the quotation list screen and/or quotation detail screen, users should see an option to **Reject RFQ**.
* This option should be available only if the quotation is still in the "Requested" state (i.e., before being processed into a quotation).
2. **Reason for Rejection**
* When the user selects "Reject," a popup or form should appear requiring them to provide a **reason for rejection** (mandatory field).
* Reasons should be text.
3. **Status Update**
* Once an RFQ is rejected, canceled/rejected, its status should update to **"Rejected"** (or similar label) and be visible in the quotation list.
* The rejection reason should be stored and viewable in the quotation details.
4. Once an RFQ is marked as **Rejected**, it must not be possible to edit or process.
5. User should have the option to send Cancellation notifications to the client. This can be optional.
6. **Audit/Tracking**
* The system should record:
* User who rejected the RFQ
* Date and time of cancellation/rejection
* Reason provided
7. 6. **Permissions**
* Only users with appropriate authority should be able to reject an RFQ.
**Quotation List Screen:**
* Add a **Reject** button beside "Edit" and "View" actions for RFQs in "Requested" state.
**Quotation Detail Screen:**
* Add a **Reject RFQ** button next to the current "Update" button.
* Clicking it opens a modal to enter a reason and confirm rejection.