GET https://garage.farahtech.ma/quote/2/edit

Query Metrics

11 Database Queries
8 Different statements
5.93 ms Query time
2 Invalid entities
14 Managed entities

Queries

Group similar statements

# Time Info
1 1.67 ms
SELECT t0.id AS id_1, t0.quote_number AS quote_number_2, t0.status AS status_3, t0.issue_date AS issue_date_4, t0.valid_until AS valid_until_5, t0.total_amount AS total_amount_6, t0.notes AS notes_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.customer_id AS customer_id_10, t0.repair_id AS repair_id_11 FROM quote t0 WHERE t0.id = ?
Parameters:
[
  "2"
]
2 0.58 ms
SELECT t0.id AS id_1, t0.first_name AS first_name_2, t0.last_name AS last_name_3, t0.email AS email_4, t0.phone AS phone_5, t0.address AS address_6, t0.city AS city_7, t0.postal_code AS postal_code_8, t0.nature AS nature_9, t0.notes AS notes_10, t0.created_at AS created_at_11, t0.updated_at AS updated_at_12 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  4
]
3 0.63 ms
SELECT t0.id AS id_1, t0.description AS description_2, t0.quantity AS quantity_3, t0.unit_price AS unit_price_4, t0.tva AS tva_5, t0.total_price AS total_price_6, t0.type AS type_7, t0.quote_id AS quote_id_8 FROM quote_item t0 WHERE t0.quote_id = ?
Parameters:
[
  2
]
4 0.65 ms
SELECT c0_.id AS id_0, c0_.first_name AS first_name_1, c0_.last_name AS last_name_2, c0_.email AS email_3, c0_.phone AS phone_4, c0_.address AS address_5, c0_.city AS city_6, c0_.postal_code AS postal_code_7, c0_.nature AS nature_8, c0_.notes AS notes_9, c0_.created_at AS created_at_10, c0_.updated_at AS updated_at_11 FROM customer c0_ ORDER BY c0_.last_name ASC
Parameters:
[]
5 0.46 ms
SELECT r0_.id AS id_0, r0_.title AS title_1, r0_.description AS description_2, r0_.status AS status_3, r0_.priority AS priority_4, r0_.estimated_cost AS estimated_cost_5, r0_.actual_cost AS actual_cost_6, r0_.estimated_duration AS estimated_duration_7, r0_.actual_duration AS actual_duration_8, r0_.labor_hours AS labor_hours_9, r0_.start_date AS start_date_10, r0_.end_date AS end_date_11, r0_.labor_cost AS labor_cost_12, r0_.notes AS notes_13, r0_.created_at AS created_at_14, r0_.updated_at AS updated_at_15, r0_.current_workflow_step AS current_workflow_step_16, r0_.has_workflow AS has_workflow_17, r0_.vehicle_id AS vehicle_id_18, r0_.customer_id AS customer_id_19, r0_.diagnostic_id AS diagnostic_id_20, r0_.mechanic_id AS mechanic_id_21, r0_.customer_delivery_id AS customer_delivery_id_22 FROM repair r0_ INNER JOIN vehicle v1_ ON r0_.vehicle_id = v1_.id WHERE v1_.customer_id = ? ORDER BY r0_.created_at DESC
Parameters:
[
  4
]
6 0.39 ms
SELECT t0.id AS id_1, t0.status AS status_2, t0.started_at AS started_at_3, t0.completed_at AS completed_at_4, t0.overall_comments AS overall_comments_5, t0.approved AS approved_6, t0.rejection_reason AS rejection_reason_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.repair_id AS repair_id_10, t0.inspector_id AS inspector_id_11 FROM quality_control t0 WHERE t0.repair_id = ?
Parameters:
[
  7
]
7 0.32 ms
SELECT t0.id AS id_1, t0.status AS status_2, t0.started_at AS started_at_3, t0.completed_at AS completed_at_4, t0.overall_comments AS overall_comments_5, t0.approved AS approved_6, t0.rejection_reason AS rejection_reason_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.repair_id AS repair_id_10, t0.inspector_id AS inspector_id_11 FROM quality_control t0 WHERE t0.repair_id = ?
Parameters:
[
  6
]
8 0.27 ms
SELECT t0.id AS id_1, t0.status AS status_2, t0.started_at AS started_at_3, t0.completed_at AS completed_at_4, t0.overall_comments AS overall_comments_5, t0.approved AS approved_6, t0.rejection_reason AS rejection_reason_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.repair_id AS repair_id_10, t0.inspector_id AS inspector_id_11 FROM quality_control t0 WHERE t0.repair_id = ?
Parameters:
[
  5
]
9 0.21 ms
SELECT t0.id AS id_1, t0.status AS status_2, t0.started_at AS started_at_3, t0.completed_at AS completed_at_4, t0.overall_comments AS overall_comments_5, t0.approved AS approved_6, t0.rejection_reason AS rejection_reason_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.repair_id AS repair_id_10, t0.inspector_id AS inspector_id_11 FROM quality_control t0 WHERE t0.repair_id = ?
Parameters:
[
  4
]
10 0.28 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
]
11 0.46 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:
[]

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\Repair 4
App\Entity\QualityControl 3
App\Entity\Customer 2
App\Entity\Quote 1
App\Entity\QuoteItem 1
App\Entity\Vehicle 1
App\Entity\Diagnostic 1
App\Entity\AppSettings 1

Entities Mapping

Class Mapping errors
App\Entity\Quote No errors.
App\Entity\Customer No 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\QuoteItem No errors.
App\Entity\Vehicle No errors.
App\Entity\Diagnostic No errors.
App\Entity\Mechanic 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\Appointment No errors.
App\Entity\Invoice No errors.
App\Entity\RepairPart No errors.
App\Entity\RepairService No errors.
App\Entity\RepairPhoto No errors.
App\Entity\QualityControl No errors.
App\Entity\QualityControlTest No errors.
App\Entity\WorkflowStep No errors.
App\Entity\VehiclePhoto No errors.
App\Entity\AppSettings No errors.