- Backend: FastAPI app with all models, services, schemas, routes - Admin Panel: Next.js dashboard with all modules (CRM, POS, repairs, warranties, billing, notifications, etc.) - Ecommerce: storefront (submodule) + product catalog - AI Agents: .agents/ skill library for Antigravity IDE - Docs: architecture, billing, notification gateway markdown - Submodules: Backend/OpenWA, Ecommerce/File 2/storefront
24 lines
1.3 KiB
Markdown
24 lines
1.3 KiB
Markdown
# 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.
|