GET https://garage.farahtech.ma/workflow/dashboard

Query Metrics

16 Database Queries
9 Different statements
14.79 ms Query time
2 Invalid entities
29 Managed entities

Queries

Group similar statements

# Time Info
1 3.16 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.status AS status_4, t0.priority AS priority_5, t0.estimated_cost AS estimated_cost_6, t0.actual_cost AS actual_cost_7, t0.estimated_duration AS estimated_duration_8, t0.actual_duration AS actual_duration_9, t0.labor_hours AS labor_hours_10, t0.start_date AS start_date_11, t0.end_date AS end_date_12, t0.labor_cost AS labor_cost_13, t0.notes AS notes_14, t0.created_at AS created_at_15, t0.updated_at AS updated_at_16, t0.current_workflow_step AS current_workflow_step_17, t0.has_workflow AS has_workflow_18, t0.vehicle_id AS vehicle_id_19, t0.customer_id AS customer_id_20, t21.id AS id_22, t21.status AS status_23, t21.started_at AS started_at_24, t21.completed_at AS completed_at_25, t21.overall_comments AS overall_comments_26, t21.approved AS approved_27, t21.rejection_reason AS rejection_reason_28, t21.created_at AS created_at_29, t21.updated_at AS updated_at_30, t21.repair_id AS repair_id_31, t21.inspector_id AS inspector_id_32, t0.diagnostic_id AS diagnostic_id_33, t0.mechanic_id AS mechanic_id_34, t0.customer_delivery_id AS customer_delivery_id_35 FROM repair t0 LEFT JOIN quality_control t21 ON t21.repair_id = t0.id ORDER BY t0.created_at DESC LIMIT 10
Parameters:
[]
2 1.71 ms
SELECT COUNT(w0_.id) AS sclr_0 FROM workflow_step w0_ WHERE w0_.status = ?
Parameters:
[
  "pending"
]
3 0.52 ms
SELECT COUNT(w0_.id) AS sclr_0 FROM workflow_step w0_ WHERE w0_.status = ? AND w0_.status = ?
Parameters:
[
  "pending"
  "in_progress"
]
4 0.57 ms
SELECT COUNT(w0_.id) AS sclr_0 FROM workflow_step w0_ WHERE w0_.status = ? AND w0_.status = ? AND w0_.status = ?
Parameters:
[
  "pending"
  "in_progress"
  "completed"
]
5 0.66 ms
SELECT w0_.id AS id_0, w0_.step_name AS step_name_1, w0_.step_order AS step_order_2, w0_.status AS status_3, w0_.started_at AS started_at_4, w0_.completed_at AS completed_at_5, w0_.notes AS notes_6, w0_.created_at AS created_at_7, w0_.updated_at AS updated_at_8, w0_.repair_id AS repair_id_9, w0_.assigned_to_id AS assigned_to_id_10 FROM workflow_step w0_ WHERE w0_.status = ? AND w0_.started_at < ? ORDER BY w0_.started_at ASC
Parameters:
[
  "in_progress"
  "2025-12-12 20:53:00"
]
6 0.58 ms
SELECT t0.id AS id_1, t0.step_name AS step_name_2, t0.step_order AS step_order_3, t0.status AS status_4, t0.started_at AS started_at_5, t0.completed_at AS completed_at_6, t0.notes AS notes_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.repair_id AS repair_id_10, t0.assigned_to_id AS assigned_to_id_11 FROM workflow_step t0 WHERE t0.step_name = ? AND t0.status = ?
Parameters:
[
  "reception"
  "in_progress"
]
7 0.57 ms
SELECT t0.id AS id_1, t0.step_name AS step_name_2, t0.step_order AS step_order_3, t0.status AS status_4, t0.started_at AS started_at_5, t0.completed_at AS completed_at_6, t0.notes AS notes_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.repair_id AS repair_id_10, t0.assigned_to_id AS assigned_to_id_11 FROM workflow_step t0 WHERE t0.step_name = ? AND t0.status = ?
Parameters:
[
  "diagnostic"
  "in_progress"
]
8 0.51 ms
SELECT t0.id AS id_1, t0.step_name AS step_name_2, t0.step_order AS step_order_3, t0.status AS status_4, t0.started_at AS started_at_5, t0.completed_at AS completed_at_6, t0.notes AS notes_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.repair_id AS repair_id_10, t0.assigned_to_id AS assigned_to_id_11 FROM workflow_step t0 WHERE t0.step_name = ? AND t0.status = ?
Parameters:
[
  "quote"
  "in_progress"
]
9 0.50 ms
SELECT t0.id AS id_1, t0.step_name AS step_name_2, t0.step_order AS step_order_3, t0.status AS status_4, t0.started_at AS started_at_5, t0.completed_at AS completed_at_6, t0.notes AS notes_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.repair_id AS repair_id_10, t0.assigned_to_id AS assigned_to_id_11 FROM workflow_step t0 WHERE t0.step_name = ? AND t0.status = ?
Parameters:
[
  "repair"
  "in_progress"
]
10 0.47 ms
SELECT t0.id AS id_1, t0.step_name AS step_name_2, t0.step_order AS step_order_3, t0.status AS status_4, t0.started_at AS started_at_5, t0.completed_at AS completed_at_6, t0.notes AS notes_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.repair_id AS repair_id_10, t0.assigned_to_id AS assigned_to_id_11 FROM workflow_step t0 WHERE t0.step_name = ? AND t0.status = ?
Parameters:
[
  "quality_control"
  "in_progress"
]
11 0.52 ms
SELECT t0.id AS id_1, t0.step_name AS step_name_2, t0.step_order AS step_order_3, t0.status AS status_4, t0.started_at AS started_at_5, t0.completed_at AS completed_at_6, t0.notes AS notes_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.repair_id AS repair_id_10, t0.assigned_to_id AS assigned_to_id_11 FROM workflow_step t0 WHERE t0.step_name = ? AND t0.status = ?
Parameters:
[
  "delivery"
  "in_progress"
]
12 0.56 ms
SELECT t0.id AS id_1, t0.garage AS garage_2, t0.currency AS currency_3, t0.date_format AS date_format_4, t0.time_format AS time_format_5, t0.notifications AS notifications_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.logo AS logo_9 FROM app_settings t0 LIMIT 1
Parameters:
[]
13 0.63 ms
SELECT t0.id AS id_1, t0.brand AS brand_2, t0.model AS model_3, t0.year AS year_4, t0.license_plate AS license_plate_5, t0.registration_number AS registration_number_6, t0.vin AS vin_7, t0.mileage AS mileage_8, t0.fuel_type AS fuel_type_9, t0.color AS color_10, t0.notes AS notes_11, t0.created_at AS created_at_12, t0.updated_at AS updated_at_13, t0.customer_id AS customer_id_14 FROM vehicle t0 WHERE t0.id = ?
Parameters:
[
  3
]
14 1.17 ms
SELECT t0.id AS id_1, t0.step_name AS step_name_2, t0.step_order AS step_order_3, t0.status AS status_4, t0.started_at AS started_at_5, t0.completed_at AS completed_at_6, t0.notes AS notes_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.repair_id AS repair_id_10, t0.assigned_to_id AS assigned_to_id_11 FROM workflow_step t0 WHERE t0.repair_id = ?
Parameters:
[
  7
]
15 1.98 ms
SELECT t0.id AS id_1, t0.step_name AS step_name_2, t0.step_order AS step_order_3, t0.status AS status_4, t0.started_at AS started_at_5, t0.completed_at AS completed_at_6, t0.notes AS notes_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.repair_id AS repair_id_10, t0.assigned_to_id AS assigned_to_id_11 FROM workflow_step t0 WHERE t0.repair_id = ?
Parameters:
[
  6
]
16 0.66 ms
SELECT t0.id AS id_1, t0.step_name AS step_name_2, t0.step_order AS step_order_3, t0.status AS status_4, t0.started_at AS started_at_5, t0.completed_at AS completed_at_6, t0.notes AS notes_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.repair_id AS repair_id_10, t0.assigned_to_id AS assigned_to_id_11 FROM workflow_step t0 WHERE t0.repair_id = ?
Parameters:
[
  5
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\WorkflowStep 18
App\Entity\Repair 4
App\Entity\QualityControl 3
App\Entity\Vehicle 1
App\Entity\Customer 1
App\Entity\Diagnostic 1
App\Entity\AppSettings 1

Entities Mapping

Class Mapping errors
App\Entity\Repair
  • The field App\Entity\Repair#customerDelivery is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\CustomerDelivery#repair does not contain the required 'mappedBy: "customerDelivery"' attribute.
App\Entity\Vehicle No errors.
App\Entity\Customer No errors.
App\Entity\QualityControl No errors.
App\Entity\Mechanic No errors.
App\Entity\Diagnostic No errors.
App\Entity\CustomerDelivery
  • The field App\Entity\CustomerDelivery#repair is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\Repair#customerDelivery does not contain the required 'mappedBy: "repair"' attribute.
App\Entity\RepairPart No errors.
App\Entity\RepairService No errors.
App\Entity\RepairPhoto No errors.
App\Entity\Invoice No errors.
App\Entity\WorkflowStep No errors.
App\Entity\QualityControlTest No errors.
App\Entity\User No errors.
App\Entity\AppSettings No errors.
App\Entity\VehiclePhoto No errors.
App\Entity\Appointment No errors.