GET https://entreprise.v2.mageconsulting.fr/fr/admin

Query Metrics

25 Database Queries
23 Different statements
30.55 ms Query time
3 Invalid entities
10 Managed entities

Queries

Group similar statements

# Time Info
1 0.64 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.username AS username_3, t0.email AS email_4, t0.password AS password_5, t0.roles AS roles_6, t0.bio AS bio_7, t0.website AS website_8, t0.twitter_handle AS twitter_handle_9, t0.is_verified AS is_verified_10, t0.enabled AS enabled_11, t0.last_login_at AS last_login_at_12, t0.avatar AS avatar_13, t0.company_id AS company_id_14 FROM user t0 WHERE t0.id = ?
Parameters:
[
  2
]
2 0.57 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.roles AS roles_3, t0.company_id AS company_id_4 FROM user_group t0 INNER JOIN user_user_group ON t0.id = user_user_group.user_group_id WHERE user_user_group.user_id = ?
Parameters:
[
  2
]
3 0.61 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.logo AS logo_4, t0.address AS address_5, t0.capital AS capital_6, t0.website AS website_7, t0.email AS email_8, t0.phone AS phone_9, t0.siret AS siret_10, t0.tva AS tva_11, t0.rcs AS rcs_12, t0.price_precision AS price_precision_13, t0.loi_pdf AS loi_pdf_14, t0.footer_pdf AS footer_pdf_15, t0.favicon AS favicon_16, t0.smtp_host AS smtp_host_17, t0.smtp_port AS smtp_port_18, t0.smtp_user AS smtp_user_19, t0.smtp_password AS smtp_password_20, t0.smtp_sender_email AS smtp_sender_email_21, t0.smtp_sender_name AS smtp_sender_name_22, t0.smtp_encryption AS smtp_encryption_23, t0.country_code AS country_code_24, t0.invoice_start_number AS invoice_start_number_25, t0.cra_email_template AS cra_email_template_26, t0.email_header AS email_header_27, t0.email_footer AS email_footer_28, t0.legal_form_id AS legal_form_id_29, t0.currency_id AS currency_id_30, t0.cachet AS cachet_31 FROM company t0 WHERE t0.id = ?
Parameters:
[
  1
]
4 0.63 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.date_start AS date_start_3, t0.date_end AS date_end_4, t0.is_closed AS is_closed_5, t0.company_id AS company_id_6 FROM fiscal_period t0 WHERE t0.company_id = ? ORDER BY t0.date_start DESC
Parameters:
[
  1
]
5 0.51 ms
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.username AS username_3, t0.email AS email_4, t0.password AS password_5, t0.roles AS roles_6, t0.bio AS bio_7, t0.website AS website_8, t0.twitter_handle AS twitter_handle_9, t0.is_verified AS is_verified_10, t0.enabled AS enabled_11, t0.last_login_at AS last_login_at_12, t0.avatar AS avatar_13, t0.company_id AS company_id_14 FROM user t0 WHERE t0.company_id = ?
Parameters:
[
  1
]
6 0.47 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.roles AS roles_3, t0.company_id AS company_id_4 FROM user_group t0 INNER JOIN user_user_group ON t0.id = user_user_group.user_group_id WHERE user_user_group.user_id = ?
Parameters:
[
  3
]
7 0.45 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.roles AS roles_3, t0.company_id AS company_id_4 FROM user_group t0 INNER JOIN user_user_group ON t0.id = user_user_group.user_group_id WHERE user_user_group.user_id = ?
Parameters:
[
  5
]
8 0.50 ms
SELECT COUNT(u0_.id) AS sclr_0 FROM user u0_ WHERE u0_.company_id = ? AND u0_.last_login_at >= ?
Parameters:
[
  1
  "2026-07-14 00:00:00"
]
9 0.75 ms
SELECT c0_.name AS name_0, SUM(i1_.total_ht) AS sclr_1 FROM invoice i1_ INNER JOIN customer c0_ ON i1_.customer_id = c0_.id WHERE i1_.company_id = ? AND i1_.creation_date >= ? AND i1_.creation_date <= ? GROUP BY c0_.name
Parameters:
[
  1
  "2025-10-01 00:00:00"
  "2026-09-30 00:00:00"
]
10 0.63 ms
SELECT u0_.full_name AS full_name_0, SUM(c1_.total_excl_tax) AS sclr_1 FROM consultant_invoice c1_ INNER JOIN activity_report a2_ ON c1_.activity_report_id = a2_.id INNER JOIN user u0_ ON a2_.consultant_id = u0_.id WHERE c1_.company_id = ? AND c1_.created_at >= ? AND c1_.created_at <= ? GROUP BY u0_.full_name
Parameters:
[
  1
  "2025-10-01 00:00:00"
  "2026-09-30 00:00:00"
]
11 4.77 ms
SELECT b0_.transaction_date AS transaction_date_0, b0_.amount_ht AS amount_ht_1, b0_.amount AS amount_2, b0_.amount_tva AS amount_tva_3 FROM bank_transaction b0_ LEFT JOIN classify c1_ ON b0_.classify_id = c1_.id WHERE b0_.company_id = ? AND b0_.transaction_type = ? AND (c1_.label NOT LIKE ? OR c1_.label IS NULL) AND (c1_.out_of_kpi = 0 OR c1_.id IS NULL) AND b0_.fiscal_period_id = ?
Parameters:
[
  1
  "DEBIT"
  "%TVA%"
  1
]
12 2.83 ms
SELECT b0_.transaction_date AS transaction_date_0, b0_.amount_ht AS amount_ht_1, b0_.amount AS amount_2, b0_.amount_tva AS amount_tva_3 FROM bank_transaction b0_ LEFT JOIN classify c1_ ON b0_.classify_id = c1_.id WHERE b0_.company_id = ? AND b0_.transaction_type = ? AND (c1_.out_of_kpi = 0 OR c1_.id IS NULL) AND b0_.fiscal_period_id = ?
Parameters:
[
  1
  "CREDIT"
  1
]
13 0.49 ms
SELECT i0_.creation_date AS creation_date_0, i0_.total_ht AS total_ht_1 FROM invoice i0_ WHERE i0_.company_id = ? AND i0_.creation_date >= ? AND i0_.creation_date <= ?
Parameters:
[
  1
  "2025-10-01 00:00:00"
  "2026-09-30 00:00:00"
]
14 0.44 ms
SELECT c0_.created_at AS created_at_0, c0_.total_excl_tax AS total_excl_tax_1 FROM consultant_invoice c0_ WHERE c0_.company_id = ? AND c0_.created_at >= ? AND c0_.created_at <= ?
Parameters:
[
  1
  "2025-10-01 00:00:00"
  "2026-09-30 00:00:00"
]
15 0.44 ms
SELECT s0_.creation_date AS creation_date_0, s0_.total_ht AS total_ht_1 FROM supplier_invoice s0_ WHERE s0_.company_id = ? AND s0_.creation_date >= ? AND s0_.creation_date <= ?
Parameters:
[
  1
  "2025-10-01 00:00:00"
  "2026-09-30 00:00:00"
]
16 3.10 ms
SELECT b0_.transaction_date AS transaction_date_0, b0_.amount_ht AS amount_ht_1, b0_.amount AS amount_2 FROM bank_transaction b0_ LEFT JOIN classify c1_ ON b0_.classify_id = c1_.id WHERE b0_.company_id = ? AND b0_.transaction_type = ? AND ((c1_.label NOT LIKE ? AND c1_.label NOT LIKE ? AND c1_.label NOT LIKE ?) OR c1_.label IS NULL) AND (c1_.out_of_kpi = 0 OR c1_.id IS NULL) AND b0_.fiscal_period_id = ?
Parameters:
[
  1
  "DEBIT"
  "%Fournisseur%"
  "%TVA%"
  "%Porteur%"
  1
]
17 3.49 ms
SELECT c0_.label AS label_0, SUM(COALESCE(b1_.amount_ht, b1_.amount)) AS sclr_1 FROM bank_transaction b1_ LEFT JOIN classify c0_ ON b1_.classify_id = c0_.id WHERE b1_.company_id = ? AND b1_.transaction_type = ? AND (c0_.out_of_kpi = 0 OR c0_.id IS NULL) AND b1_.fiscal_period_id = ? GROUP BY c0_.label
Parameters:
[
  1
  "DEBIT"
  1
]
18 3.39 ms
SELECT SUM(COALESCE(b0_.amount_ht, b0_.amount)) AS sclr_0 FROM bank_transaction b0_ LEFT JOIN classify c1_ ON b0_.classify_id = c1_.id WHERE b0_.company_id = ? AND b0_.transaction_type = ? AND (c1_.out_of_kpi = 0 OR c1_.id IS NULL) AND ((c1_.label NOT LIKE ? AND c1_.label NOT LIKE ? AND c1_.label NOT LIKE ?) OR c1_.label IS NULL) AND b0_.fiscal_period_id = ?
Parameters:
[
  1
  "DEBIT"
  "%Fournisseur%"
  "%TVA%"
  "%Porteur%"
  1
]
19 0.44 ms
SELECT SUM(s0_.total_ht) AS sclr_0 FROM supplier_invoice s0_ WHERE s0_.company_id = ? AND s0_.creation_date >= ? AND s0_.creation_date <= ?
Parameters:
[
  1
  "2025-10-01 00:00:00"
  "2026-09-30 00:00:00"
]
20 0.51 ms
SELECT SUM(i0_.tva) AS sclr_0 FROM invoice i0_ WHERE i0_.company_id = ? AND i0_.creation_date >= ? AND i0_.creation_date <= ?
Parameters:
[
  1
  "2025-10-01 00:00:00"
  "2026-09-30 00:00:00"
]
21 0.45 ms
SELECT SUM(c0_.vat_amount) AS sclr_0 FROM consultant_invoice c0_ WHERE c0_.company_id = ? AND c0_.created_at >= ? AND c0_.created_at <= ?
Parameters:
[
  1
  "2025-10-01 00:00:00"
  "2026-09-30 00:00:00"
]
22 2.93 ms
SELECT SUM(b0_.amount_tva) AS sclr_0 FROM bank_transaction b0_ LEFT JOIN classify c1_ ON b0_.classify_id = c1_.id WHERE b0_.company_id = ? AND b0_.transaction_type = ? AND (c1_.label NOT LIKE ? OR c1_.label IS NULL) AND (c1_.out_of_kpi = 0 OR c1_.id IS NULL) AND b0_.fiscal_period_id = ?
Parameters:
[
  1
  "DEBIT"
  "%Fournisseur%"
  1
]
23 0.58 ms
SELECT SUM(b0_.amount_ht) AS sclr_0 FROM bank_transaction b0_ INNER JOIN classify c1_ ON b0_.classify_id = c1_.id WHERE b0_.company_id = ? AND b0_.transaction_type = ? AND c1_.label = ? AND c1_.out_of_kpi = 0 AND b0_.fiscal_period_id = ?
Parameters:
[
  1
  "DEBIT"
  "TVA"
  1
]
24 0.52 ms
SELECT a0_.id AS id_0, a0_.days AS days_1, a0_.date AS date_2, a0_.created_at AS created_at_3, a0_.pdf AS pdf_4, a0_.invoice_pdf AS invoice_pdf_5, a0_.holidays AS holidays_6, a0_.validated AS validated_7, a0_.invoiced AS invoiced_8, a0_.is_package AS is_package_9, a0_.company_id AS company_id_10, a0_.consultant_id AS consultant_id_11, a0_.purchase_order_id AS purchase_order_id_12 FROM activity_report a0_ WHERE a0_.company_id = ? AND a0_.date >= ? AND a0_.date <= ?
Parameters:
[
  1
  "2026-07-01 00:00:00"
  "2026-07-31 00:00:00"
]
25 0.40 ms
SELECT t0.id AS id_1, t0.code AS code_2, t0.name AS name_3, t0.symbol AS symbol_4 FROM currency t0 WHERE t0.id = ?
Parameters:
[
  1
]

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\User 3
App\Entity\UserGroup 2
App\Entity\FiscalPeriod 2
App\Entity\Company 1
App\Entity\LegalForm 1
App\Entity\Currency 1

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\Company
  • The field App\Entity\Company#invoices is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Invoice#company does not contain the required 'inversedBy: "invoices"' attribute.
  • The field App\Entity\Company#payments is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Payment#company does not contain the required 'inversedBy: "payments"' attribute.
  • The field App\Entity\Company#supplierInvoices is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\SupplierInvoice#company does not contain the required 'inversedBy: "supplierInvoices"' attribute.
App\Entity\UserGroup No errors.
App\Entity\Contract No errors.
App\Entity\PurchaseOrder No errors.
App\Entity\LegalForm No errors.
App\Entity\Currency No errors.
App\Entity\File No errors.
App\Entity\Bank No errors.
App\Entity\Vat No errors.
App\Entity\FiscalPeriod No errors.
App\Entity\Customer
  • The field App\Entity\Customer#invoices is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Invoice#customer does not contain the required 'inversedBy: "invoices"' attribute.
App\Entity\Supplier No errors.
App\Entity\Invoice
  • The field App\Entity\Invoice#payments is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Payment#invoice does not contain the required 'inversedBy: "payments"' attribute.
App\Entity\Payment No errors.
App\Entity\SupplierInvoice No errors.
App\Entity\BankTransaction No errors.
App\Entity\ConsultantInvoice No errors.
App\Entity\ActivityReport No errors.
App\Entity\Classify No errors.