Overview
The Cotizador (Quotation Tool) allows sales advisors to generate professional PDF quotes for clients showing property details, pricing breakdowns, and payment plan simulations.Accessing the Quotation Tool
Route:/cotizador
The cotizador is available to all commercial roles and displays a form-based interface for configuring quotes.
Quotation Workflow
Access Cotizador
Navigate to Cotizador from the Ventas menu or go directly to
/cotizador.The system loads:Select Project
Choose a project from the dropdown:This filters available properties to only those in the selected project:
Select Client
Choose the client for this quote:Note: Clients must be created first at
/clientes/create if not in the system.Select Property (Inmueble)
Choose a specific property from the filtered list:Properties include:
- Apartamentos with
tipoApartamentodetails - Locales with commercial specifications
- Associated parking (if included)
Select Payment Term (Plazo)
Choose the down payment term in months:Example: If project allows 12 months, options are
[1, 2, 3, ..., 12].Review Quote Summary
The form displays a live preview showing:Property Details:
- Property type and unit number
- Area (constructed/private)
- Rooms and bathrooms
- Current price
Quote PDF Structure
The generated PDF includes:Header Section
Client Information
Property Details
Pricing Breakdown
Payment Schedule Table
Footer
Quote Calculation Logic
The cotizador performs real-time calculations based on project parameters:Base Pricing
Down Payment Calculation
Installment Schedule
Balance Calculation
Currency Formatting
All monetary values use Colombian Peso formatting:Property Type Handling
Apartments
Apartments requiretipoApartamento relationship:
Locals
Commercial locals use direct properties:Validation Rules
Before generating PDF:Required Selections
Required Selections
Apartment Type Validation
Apartment Type Validation
Available Plazos
Available Plazos
Integration with Sales Flow
Quotes are read-only documents for client presentation. To convert a quote to an actual transaction:
Tip: You can link directly from catalog to create form:
Common Issues
”Este apartamento no tiene un tipo definido”
Cause: Apartment missingid_tipo_apartamento relationship.
Fix:
- Edit apartment at
/apartamentos/{id}/edit - Assign a valid apartment type
- Return to cotizador
Empty Inmuebles Dropdown
Cause: No available properties in selected project. Fix:- Verify project has properties with state “Disponible”
- Check project is
activo = true - Ensure properties exist at
/apartamentosor/locales
Incorrect Pricing
Cause: PriceEngine hasn’t recalculated after recent sales. Fix:- Administrator should trigger recalculation
- Pricing updates automatically after each sale
- Verify pricing policies at
/politicas-precio-proyecto
Next Steps
Processing Sales
Learn how to convert quotes into actual sales and separations.
Technical Reference
- Controller:
app/Http/Controllers/Ventas/CotizadorWebController.php - View:
resources/js/Pages/Ventas/Cotizador/Index.vue - Route:
routes/web.php:398-399 - Libraries:
jspdf,jspdf-autotable