Quick Start
Get up and running with ITV Gestion Concesionario in just a few steps. This guide will walk you through the complete workflow from opening the application to generating your first ITV report.The application runs entirely in your web browser. No installation or backend server is required.
Getting Started
Open the Application
Open
index.html in your web browser. You’ll see the main interface with the ITV form header and client information section.The application features a modern gradient design with a glassmorphism container for a professional look.For the best experience, use a modern browser like Chrome, Firefox, Safari, or Edge with JavaScript enabled.
Enter Client Information
Fill in the initial client form with the following required fields:Example Input:
- Nombre (Name): Client’s first name
- Apellidos (Surname): Client’s last name
- Razón Social (Business Name): Company name or “Particular” for individuals
- Nº de Vehículos (Number of Vehicles): How many vehicles need inspection (1-50)
- Name: “Juan”
- Surname: “García”
- Business Name: “AutoGarcia S.L.”
- Number of Vehicles: “3”
Generate Vehicle Forms
Click the “Generar Formularios” (Generate Forms) button. The system will:Each vehicle form includes:
- Validate all input fields
- Show a loading animation
- Dynamically generate individual forms for each vehicle
- Vehicle number identifier
- Engine type selection (radio buttons)
- ITV approval status (radio buttons)
- Observations text area
Complete Vehicle Information
For each vehicle form, provide the following information:Example for Vehicle #1:
Engine Type (Required)
Select one of the following options:- 🛢️ Diesel - €50 per inspection
- ⛽ Gasolina (Gasoline) - €45 per inspection
- 🔋 Híbrido (Hybrid) - €35 per inspection
- ⚡ Eléctrico (Electric) - €30 per inspection
ITV Status (Required)
Select the inspection result:- ✅ Aprobado (Approved) - Vehicle passed inspection
- ❌ No Aprobado (Not Approved) - Vehicle failed inspection
Observations (Optional)
Add any relevant notes about the vehicle’s condition:Observations are limited to 250 characters per vehicle and support multiline input.
- Engine Type: Diesel
- ITV Status: Approved
- Observations: “Brake pads at 60%, recommended replacement in 6 months”
Calculate Results
After completing all vehicle forms, click “Calcular Resultados” (Calculate Results).The system will:
- Validate all vehicle forms are complete
- Process data for all vehicles
- Calculate total costs based on engine types
- Display comprehensive results
View Results
The results screen displays four main sections:
👤 Client Information
Shows the client data entered in step 2:- Full name
- Business name
- Number of vehicles processed
💰 Total to Pay
Displays an itemized breakdown:✅ ITV Status
Shows the approval status for each vehicle:📝 Observations
Lists all observations recorded for each vehicle.If no observations were entered, the system displays “Sin observaciones registradas”.
Export or Print Results
Use the action buttons to save or share the results:🖨️ Print
Generates a printer-friendly version of the results:
📥 Export JSON
Downloads results as a JSON file for data integration:🔄 New Form
Resets the application to start a new ITV process:- Clears all data
- Returns to the initial client form
- Requires confirmation to prevent accidental data loss
Validation & Error Handling
The system includes comprehensive validation at every step:Client Information Validation
Client Information Validation
Vehicle Form Validation
Vehicle Form Validation
Real-time Input Validation
Real-time Input Validation
Example Workflow
Here’s a complete example of processing 2 vehicles:Tips for Efficient Use
Batch Processing
Process multiple vehicles at once by entering the correct count upfront. This is more efficient than processing vehicles one by one.
Detailed Observations
Use the observations field to record specific findings. This creates valuable documentation for follow-up work.
Regular Exports
Export results to JSON regularly to maintain a digital archive of all inspections performed.
Print for Clients
Use the print function to provide clients with professional documentation of their inspection results.
Keyboard Shortcuts & Accessibility
The application includes accessibility features:
- Tab navigation through all form fields
- Clear focus indicators on interactive elements
- Keyboard support for all buttons and inputs
- Screen reader compatible semantic HTML
Troubleshooting
Forms not generating after clicking the button
Forms not generating after clicking the button
Calculate button does nothing
Calculate button does nothing
Export button not working
Export button not working
Print preview shows incorrect layout
Print preview shows incorrect layout
Solution: This is normal. The print function generates a custom layout optimized for printing. Use Print Preview in your browser to see the final result before printing.
For additional help or to report issues, contact the developer at [email protected] or visit the GitHub repository.
Next Steps
Now that you know how to use the application, explore:- Customizing tariff rates in
script.js(line 269) - Modifying the color scheme in
styles.css - Adding custom validation rules for your specific requirements