- 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
1.3 KiB
1.3 KiB
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:
- CRM Sales Quotations (
/crm-quotations) - B2B Bulk Fleet Quotations (
/bulk-quotations) - 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 (
998713for repairs,851770for 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 viawindow.print().
- High-resolution iFixKart letterhead with official corporate GSTIN (
2. SlideOver Detail Drawers
- Integrates
components/ui/SlideOver.tsxon 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.