# 05 – Quotations

Tested in the QA company only · Pages: Quotation List, Create Quotation, Edit, View, Approved Quotation List, RFQ List

## Works fine

- All four pages open. Create Quotation saves ("Quotation created successfully!") and the quote appears in the list.
- View side panel shows the full quote. Quote PDF opens (valid PDF).
- Edit opens with every value filled in and saves ("Quotation Updated successfully!").
- Update Status asks for a status ("This field is required" if empty). Choosing *Approved* moves the quote from the Quotation List to the Approved list, where it gets *Send to Load Board*, *Send Email* and *Create Order*.

## Issues

| # | Sev | What the user experiences | Steps | Evidence |
|---|-----|---------------------------|-------|----------|
| Q1 | Medium | **Customer Name list shows numbers, not names** (e.g. "1534" instead of the customer's name); after saving, the list's *Company Name* column stays empty for that quote. | Create Quotation → Customers → pick a company → open Customer Name | `screens/quote_filled.png`, `screens/quote_list_data.png` |
| Q2 | Medium | **Script errors when Create Quotation opens** (`discounts.find is not a function` twice, `DataTable is not a function`, a script file returning a web page instead of code, `classList` of null). Approved list and RFQ list also show a `moment` error. Parts of the page (Discount tab, tables, date pickers) may not behave. | Open the pages, look at the browser console | `screens/quote_add.png` |
| Q3 | Medium | **A new company has empty lists the form needs** – Mode of Transport, Units, Equipment, Employee code. Works once they are added under Master, but the form gives no hint (same gap as CRM C1 / Carriers K1). | New company → Create Quotation | – |
| Q4 | Low | **Slow edit page:** after opening, State/City fill in only after about 6–7 seconds;. | Quotation → Edit | `screens/quote_edit.png` |
| Q5 | Low | **Send Email window:** the button is called "Update" although it sends the email; Subject, Content and Signature start empty. | Approved list → Action → Send Email | `screens/quote_send_email_dialog.png` |

## Not tested (and why)

- **Delete** (kept the data on purpose), actually **sending** the email, *Send to Load Board* (Load Board module), *Create Order* (Orders module).
- RFQ requests created by a customer (needs the customer portal), Multi-truck / LTL types, Tax / Warehouse / Additional / Charge / Discount tabs, PDF contents.

## Test data left in the QA company (for the next modules)

- Quotation **#393** (FTL, INR 1,000, Cherrapunji → Cherrapunji) – status **Approved**, ready for *Send to Load Board* and *Create Order*.
- Master data: Mode of Transport "Road", Unit "Pallet", Equipment "Dry Van 53".
