POST https://entreprise.v2.mageconsulting.fr/admin/invoice/send-email/99

Query Metrics

12 Database Queries
12 Different statements
123.18 ms Query time
3 Invalid entities
11 Managed entities

Queries

Group similar statements

# Time Info
1 0.72 ms
SELECT t0.id AS id_1, t0.code AS code_2, t0.paid AS paid_3, t0.creation_date AS creation_date_4, t0.due_date AS due_date_5, t0.total_ht AS total_ht_6, t0.mail_sent AS mail_sent_7, t0.total_ttc AS total_ttc_8, t0.tva AS tva_9, t0.relance AS relance_10, t0.timbre AS timbre_11, t0.status AS status_12, t0.company_id AS company_id_13, t0.customer_id AS customer_id_14 FROM invoice t0 WHERE t0.id = ?
Parameters:
[
  "99"
]
2 0.59 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
]
3 0.52 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.email AS email_4, t0.phone AS phone_5, t0.address AS address_6, t0.siret AS siret_7, t0.tva AS tva_8, t0.price_precision AS price_precision_9, t0.company_id AS company_id_10, t0.currency_id AS currency_id_11 FROM customer t0 WHERE t0.id = ?
Parameters:
[
  14
]
4 0.56 ms
SELECT t0.id AS id_1, t0.credit_note_id AS credit_note_id_2, t0.quote_id AS quote_id_3, t0.product AS product_4, t0.label AS label_5, t0.quantity AS quantity_6, t0.unit_price AS unit_price_7, t0.invoice_id AS invoice_id_8, t0.tva_id AS tva_id_9, t0.activity_report_id AS activity_report_id_10 FROM invoice_detail t0 WHERE t0.invoice_id = ?
Parameters:
[
  99
]
5 0.46 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
]
6 0.50 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.iban AS iban_3, t0.bic AS bic_4, t0.company_id AS company_id_5, t0.customer_id AS customer_id_6, t0.supplier_id AS supplier_id_7 FROM bank t0 WHERE t0.company_id = ?
Parameters:
[
  1
]
7 0.82 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
]
8 0.94 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
]
9 0.37 ms
"START TRANSACTION"
Parameters:
[]
10 0.84 ms
INSERT INTO log (entity_name, entity_id, action, data, username, created_at, company_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "Invoice"
  "99"
  "UPDATE"
  "{"mailSent":[false,true]}"
  "ali.samoudi@mageconsulting.fr"
  "2026-07-14 12:08:46"
  1
]
11 0.68 ms
UPDATE invoice SET mail_sent = ? WHERE id = ?
Parameters:
[
  1
  99
]
12 116.18 ms
"COMMIT"
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\Invoice 1
App\Entity\Company 1
App\Entity\Customer 1
App\Entity\LegalForm 1
App\Entity\Currency 1
App\Entity\InvoiceDetail 1
App\Entity\Vat 1
App\Entity\Bank 1
App\Entity\User 1
App\Entity\UserGroup 1
App\Entity\Log 1

Entities Mapping

Class Mapping 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\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\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\InvoiceDetail No errors.
App\Entity\Payment No errors.
App\Entity\LegalForm No errors.
App\Entity\Currency No errors.
App\Entity\File No errors.
App\Entity\Bank No errors.
App\Entity\User No errors.
App\Entity\Vat No errors.
App\Entity\FiscalPeriod No errors.
App\Entity\Supplier No errors.
App\Entity\Contract No errors.
App\Entity\PurchaseOrder No errors.
App\Entity\SupplierInvoice No errors.
App\Entity\ActivityReport No errors.
App\Entity\UserGroup No errors.
App\Entity\Log No errors.