Overview
The Service Management module is the core of Luis IT Repair’s operations, providing a comprehensive system for registering, tracking, and delivering technical repair services for computers, laptops, printers, and monitors.Key Capabilities
Client Lookup
Smart autocomplete search that finds clients by name with fuzzy matching (starts searching after 3 characters)
Device Cataloging
Auto-fill device specifications from CSV catalogs for popular laptop models (Apple, MSI, Lenovo, Dell, HP, etc.)
Flexible Serial Numbers
Optional serial number tracking with “omit serial number” checkbox for devices without accessible serials
PDF Generation
Automatic service ticket PDF generation with all service details and unique folio number
Creating a Service
1. Client Information
The service form starts with client data entry:- Name: Type at least 3 characters to see autocomplete suggestions from existing clients
- Phone: 10-digit numeric field, automatically filtered
- Address: Optional field for client location
When you select an existing client from suggestions, their information (phone, address, preferred serial number) is automatically filled in.
2. Device Selection
Choose from four device types:- Laptop
- Desktop PC (Computadora de Escritorio)
- Printer (Impresora)
- Monitor
3. Laptop/PC Specifications
For computers and laptops, capture detailed hardware information:- Processor (with datalist suggestions)
- RAM (4GB, 8GB, 16GB, 32GB options)
- Disk (HDD/SSD options)
- Screen, keyboard, mouse/touchpad condition
- “Does it work correctly?”
- “Does it turn on?”
- Device password (if applicable)
4. Printer Details
For printers, capture:- Type: Inkjet, Laser, or Multifunction
- Prints correctly?: Yes/No
- Physical conditions: Free-form textarea
5. Monitor Details
For monitors:- Size: Screen size in inches
- Colors correct?: Yes/No
- Physical conditions: Damage or defects
6. Service Details
Work to Perform: Describe the repair or service needed Cost Estimation:- Enter numeric cost, or
- Check “Precio se define después del mantenimiento” to determine price later
Model Auto-Fill System
The system includes a powerful device catalog feature:Client Autocomplete
The intelligent client search improves data consistency:Client Suggestions UI
Client Suggestions UI
The suggestion dropdown shows:
- Client name (bold)
- Phone number with 📞 icon
- Address with 📍 icon
- Click to auto-fill all client data
Duplicate Detection
The system prevents duplicate service entries:Form Submission Flow
- Validation: Ensures serial number is provided or explicitly omitted
- Client Creation/Update:
- Updates existing client if selected
- Creates new client if not found
- Service Registration: Saves service with auto-generated folio
- PDF Generation: Creates service ticket PDF
- Navigation: Redirects to ticket view page
Service Status Tracking
Services progress through multiple states:- Pending (Pendiente): Initial state
- In Progress: Being worked on
- Ready (Listo): Completed and ready for pickup
- Delivered (Entregado): Picked up and paid by client
Services in “Listo” status automatically appear in the POS system for payment and delivery.
Integration with Other Features
Client Management
- Client data is synced with the central client database
- Service history is tracked per client
- Preferred serial numbers are remembered
Point of Sale
- Services with “Listo” status can be charged in POS
- Service cost is added to the sale total
- Status automatically changes to “Entregado” after payment
Reports
- Service revenue is included in daily reports
- Service items appear in sales analytics
- Tracked in cash register closing process
Best Practices
Serial Number Management
Serial Number Management
- Always capture serial numbers when visible
- Use the “omit” option only when absolutely necessary
- This prevents duplicate service entries
Spec Documentation
Spec Documentation
- Let the system auto-fill specs when possible
- Verify auto-filled specs match the actual device
- Use the “fill later” option during busy periods
Cost Estimation
Cost Estimation
- Provide estimates when possible for customer transparency
- Use “define price later” for complex repairs requiring diagnosis
- Update cost before marking service as “Listo”
Technical Implementation
The service form is located atsrc/pages/Hoja_service.jsx and uses:
- Firebase Firestore for data persistence
- React hooks for state management
- CSV catalogs for device specifications
- PDF generation via jsPDF library
- React Router for navigation
