# Unified Quotation & PDF Preview System Architecture ## Overview The iFixKart Unified Commerce & Service Platform provides a standardized, high-fidelity quotation preview and printable PDF generation experience across three core business modules: 1. **CRM Sales Quotations** (`/crm-quotations`) 2. **B2B Bulk Fleet Quotations** (`/bulk-quotations`) 3. **Service Repair Quotations** (`/service-quotes`) --- ## Technical Specifications & UI Components ### 1. Reusable Printable PDF Component - **Component**: `components/quotations/PrintableQuotationModal.tsx` - **Features**: - High-resolution iFixKart letterhead with official corporate GSTIN (`33AAAAA0000A1Z5`) and contact details. - Itemized breakdowns with **HSN/SAC codes** (`998713` for repairs, `851770` for components). - Dynamic **CGST (9%) / SGST (9%)** or IGST calculation. - Formatted Terms & Conditions, 6-Month IMEI Warranty notices, and Authorised Signatory block. - Native print stylesheet (`@media print`) enabling clean browser PDF printing via `window.print()`. ### 2. SlideOver Detail Drawers - Integrates `components/ui/SlideOver.tsx` on row selection or clicking the `[View]` button. - Displays complete customer metadata, status badge (`DRAFT`, `SENT`, `APPROVED`, `CONVERTED`), line items, and action triggers for instant conversion to Tax Invoices.