# lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7 architecture

> Architecture diagram of the GitHub repository lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7
- Repository: https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7

## Overview

Concretera Mantaro combines public company pages and customer forms with Filament administration and a field-operator panel. A central workflow is an adviser submitting a field quotation, followed by administrative review and conversion into a contract; contracts support collections and delivery scheduling. The public site also handles contact requests and statutory complaints, while back-office areas cover finance, staff, fleet, and website content. README statements support the broad capabilities; sampled controller, model, and resource references support only the specific implementation links shown.

Main entry points: [`app/Models/Contrato.php`](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Models/Contrato.php) (Contract domain), [`routes/web.php`](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/routes/web.php) (Web routes), [`app/Http/Controllers/LibroReclamacionController.php`](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Http/Controllers/LibroReclamacionController.php) (Complaint book), [`app/Services/NotificationService.php`](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Services/NotificationService.php) (Notifications)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_public["Public website"]
  node_web_routes["Web routes<br/>[web.php]"]
  node_public_pages["Company pages"]
  node_quick_quote["Quick quote form"]
  node_contact_form["Contact form"]
  node_complaint_form["Complaint book"]
end

subgraph group_sales["Sales and operations"]
  node_field_panel["Field panel"]
  node_field_jobs["Assigned jobs"]
  node_admin_quotes["Quote review"]
  node_contracts["Contracts and billing"]
  node_scheduling["Pour scheduling"]
end

subgraph group_admin["Administration"]
  node_finance["Finance management"]
  node_payables["Accounts payable"]
  node_workforce_fleet["Staff and fleet"]
  node_web_content["Web content admin<br/>[InicioResource.php]"]
  node_complaint_admin["Complaint responses"]
end

subgraph group_shared["Shared domain services"]
  node_quote_model["Quote lifecycle<br/>[Cotizacion.php]"]
  node_contract_model["Contract domain<br/>[Contrato.php]"]
  node_contact_model["Contact records<br/>[Contacto.php]"]
  node_complaint_model["Complaint records"]
  node_notifications["Notifications"]
  node_complaint_mail["Complaint email"]
end

node_visitor(("Customer / visitor"))

node_visitor -->|"opens pages"| node_web_routes
node_web_routes -->|"routes to"| node_public_pages
node_web_routes -->|"routes to"| node_quick_quote
node_web_routes -->|"routes to"| node_contact_form
node_web_routes -->|"routes to"| node_complaint_form
node_quick_quote -->|"creates request"| node_contact_model
node_quick_quote -->|"notifies admins"| node_notifications
node_complaint_form -->|"creates complaint"| node_complaint_model
node_complaint_form -->|"sends copy"| node_complaint_mail
node_complaint_form -->|"alerts admins"| node_notifications
node_field_panel -->|"manages quotes"| node_quote_model
node_field_panel -->|"references contracts"| node_contract_model
node_admin_quotes -->|"reviews quotes"| node_quote_model
node_admin_quotes -->|"references contracts"| node_contract_model
node_admin_quotes -->|"sends alerts"| node_notifications
node_quote_model -->|"converts to"| node_contract_model
node_contracts -.->|"manages contracts"| node_contract_model
node_contracts -.->|"records collections"| node_finance
node_scheduling -->|"schedules pours"| node_contract_model
node_scheduling -.->|"assigns resources"| node_workforce_fleet
node_field_jobs -->|"shows assigned jobs"| node_contract_model
node_finance -.->|"tracks collections"| node_contract_model
node_payables -.->|"alerts threshold"| node_notifications
node_web_content -.->|"edits content"| node_public_pages
node_complaint_admin -->|"responds to"| node_complaint_model

click node_web_routes "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/routes/web.php"
click node_public_pages "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Http/Controllers/SostenibilidadController.php"
click node_quick_quote "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Http/Controllers/CotizacionRapidaController.php"
click node_contact_form "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Http/Controllers/ContactoController.php"
click node_complaint_form "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Http/Controllers/LibroReclamacionController.php"
click node_field_panel "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Operador/Resources/MisCotizacionesResource.php"
click node_field_jobs "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Operador/Resources/MisObrasResource.php"
click node_admin_quotes "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Resources/CotizacionResource.php"
click node_contracts "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Resources/ContratoResource.php"
click node_scheduling "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Resources/ProgramacionResource.php"
click node_quote_model "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Models/Cotizacion.php"
click node_contract_model "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Models/Contrato.php"
click node_contact_model "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Models/Contacto.php"
click node_complaint_model "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Models/LibroReclamacion.php"
click node_notifications "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Services/NotificationService.php"
click node_finance "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Resources/IngresoResource.php"
click node_payables "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Resources/CuentaPorPagarResource.php"
click node_workforce_fleet "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Resources/TrabajadoresResource.php"
click node_web_content "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Resources/InicioResource.php"
click node_complaint_admin "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Resources/LibroReclamacionResource.php"
click node_complaint_mail "https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Mail/HojaReclamacionMail.php"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_web_routes,node_public_pages,node_quick_quote,node_contact_form,node_complaint_form toneBlue
class node_field_panel,node_field_jobs,node_admin_quotes,node_contracts,node_scheduling toneAmber
class node_finance,node_payables,node_workforce_fleet,node_web_content,node_complaint_admin toneMint
class node_quote_model,node_contract_model,node_contact_model,node_complaint_model,node_notifications,node_complaint_mail toneRose
class node_visitor toneIndigo
```

## Components

### Public website

- [Web routes](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/routes/web.php): `routes/web.php`
- [Company pages](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Http/Controllers/SostenibilidadController.php): `app/Http/Controllers/SostenibilidadController.php`
- [Quick quote form](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Http/Controllers/CotizacionRapidaController.php): `app/Http/Controllers/CotizacionRapidaController.php`
- [Contact form](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Http/Controllers/ContactoController.php): `app/Http/Controllers/ContactoController.php`
- [Complaint book](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Http/Controllers/LibroReclamacionController.php): `app/Http/Controllers/LibroReclamacionController.php`

### Sales and operations

- [Field panel](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Operador/Resources/MisCotizacionesResource.php): `app/Filament/Operador/Resources/MisCotizacionesResource.php`
- [Assigned jobs](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Operador/Resources/MisObrasResource.php): `app/Filament/Operador/Resources/MisObrasResource.php`
- [Quote review](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Resources/CotizacionResource.php): `app/Filament/Resources/CotizacionResource.php`
- [Contracts and billing](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Resources/ContratoResource.php): `app/Filament/Resources/ContratoResource.php`
- [Pour scheduling](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Resources/ProgramacionResource.php): `app/Filament/Resources/ProgramacionResource.php`

### Administration

- [Finance management](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Resources/IngresoResource.php): `app/Filament/Resources/IngresoResource.php`
- [Accounts payable](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Resources/CuentaPorPagarResource.php): `app/Filament/Resources/CuentaPorPagarResource.php`
- [Staff and fleet](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Resources/TrabajadoresResource.php): `app/Filament/Resources/TrabajadoresResource.php`
- [Web content admin](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Resources/InicioResource.php): `app/Filament/Resources/InicioResource.php`
- [Complaint responses](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Filament/Resources/LibroReclamacionResource.php): `app/Filament/Resources/LibroReclamacionResource.php`

### Shared domain services

- [Quote lifecycle](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Models/Cotizacion.php): `app/Models/Cotizacion.php`
- [Contract domain](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Models/Contrato.php): `app/Models/Contrato.php`
- [Contact records](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Models/Contacto.php): `app/Models/Contacto.php`
- [Complaint records](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Models/LibroReclamacion.php): `app/Models/LibroReclamacion.php`
- [Notifications](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Services/NotificationService.php): `app/Services/NotificationService.php`
- [Complaint email](https://github.com/lewolfdx-art/15-04-2026-pp-gesti-n-log-stica-ch-v6-bd7/blob/main/app/Mail/HojaReclamacionMail.php): `app/Mail/HojaReclamacionMail.php`

### Other components

- **Customer / visitor**

## Connections

- Customer / visitor → Web routes: opens pages (evidence: `routes/web.php`)
- Web routes → Company pages: routes to (evidence: `routes/web.php`)
- Web routes → Quick quote form: routes to (evidence: `routes/web.php`)
- Web routes → Contact form: routes to (evidence: `routes/web.php`)
- Web routes → Complaint book: routes to (evidence: `routes/web.php`)
- Quick quote form → Contact records: creates request (evidence: `app/Http/Controllers/CotizacionRapidaController.php`)
- Quick quote form → Notifications: notifies admins (evidence: `app/Http/Controllers/CotizacionRapidaController.php`)
- Complaint book → Complaint records: creates complaint (evidence: `app/Http/Controllers/LibroReclamacionController.php`)
- Complaint book → Complaint email: sends copy (evidence: `app/Http/Controllers/LibroReclamacionController.php`)
- Complaint book → Notifications: alerts admins (evidence: `app/Http/Controllers/LibroReclamacionController.php`)
- Field panel → Quote lifecycle: manages quotes (evidence: `app/Filament/Operador/Resources/MisCotizacionesResource.php`)
- Field panel → Contract domain: references contracts (evidence: `app/Filament/Operador/Resources/MisCotizacionesResource.php`)
- Quote review → Quote lifecycle: reviews quotes (evidence: `app/Filament/Resources/CotizacionResource.php`)
- Quote review → Contract domain: references contracts (evidence: `app/Filament/Resources/CotizacionResource.php`)
- Quote review → Notifications: sends alerts (evidence: `app/Filament/Resources/CotizacionResource.php`)
- Quote lifecycle → Contract domain: converts to (evidence: `app/Models/Cotizacion.php`)
- Contracts and billing → Contract domain: manages contracts
- Contracts and billing → Finance management: records collections
- Pour scheduling → Contract domain: schedules pours (evidence: `app/Filament/Resources/ProgramacionResource.php`)
- Pour scheduling → Staff and fleet: assigns resources
- Assigned jobs → Contract domain: shows assigned jobs (evidence: `app/Filament/Operador/Resources/MisObrasResource.php`)
- Finance management → Contract domain: tracks collections
- Accounts payable → Notifications: alerts threshold (evidence: `app/Services/NotificationService.php`)
- Web content admin → Company pages: edits content
- Complaint responses → Complaint records: responds to (evidence: `app/Filament/Resources/LibroReclamacionResource.php`)
