GET https://api.dentalsoft.test.cabinet-orodent.org/api/prints/receipts/888

Query Metrics

6 Database Queries
6 Different statements
9.11 ms Query time
1 Invalid entities
10 Managed entities

Grouped Statements

Show all queries

Time Count Info
3.44 ms
(37.74%)
1
SELECT t0.id AS id_1, t0.date AS date_2, t0.montant AS montant_3, t0.reste AS reste_4, t0.statut AS statut_5, t0.type AS type_6, t0.fiche_id AS fiche_id_7, t0.fiche_medicale_id AS fiche_medicale_id_8, t9.id AS id_10, t9.note_seance AS note_seance_11, t9.type AS type_12, t9.statut AS statut_13, t9.created_at AS created_at_14, t9.patient_id AS patient_id_15, t9.fiche_id AS fiche_id_16, t9.fiche_medicale_id AS fiche_medicale_id_17, t9.medecin_id AS medecin_id_18, t9.infirmier_id AS infirmier_id_19, t9.salle_id AS salle_id_20, t9.facture_id AS facture_id_21 FROM devis t0 LEFT JOIN consultation t9 ON t9.facture_id = t0.id WHERE t0.id = ?
Parameters:
[
  1162
]
2.59 ms
(28.45%)
1
SELECT t0.id AS id_1, t0.date AS date_2, t0.montant AS montant_3, t0.devis_id AS devis_id_4, t0.mode_id AS mode_id_5, t0.consultation_id AS consultation_id_6, t7.id AS id_8, t7.montant AS montant_9, t7.type AS type_10, t7.description AS description_11, t7.date_transaction AS date_transaction_12, t7.mode_de_paiement_id AS mode_de_paiement_id_13, t7.paiement_devis_id AS paiement_devis_id_14 FROM paiement_devis t0 LEFT JOIN transaction t7 ON t7.paiement_devis_id = t0.id WHERE t0.id = ?
Parameters:
[
  888
]
1.36 ms
(14.98%)
1
SELECT t0.id AS id_1, t0.username AS username_2, t0.roles AS roles_3, t0.password AS password_4 FROM `user` t0 WHERE t0.username = ? LIMIT 1
Parameters:
[
  "Admin"
]
0.82 ms
(9.01%)
1
SELECT n0_.id AS id_0, n0_.message AS message_1, n0_.type AS type_2, n0_.date_envoi AS date_envoi_3, n0_.etat_vu AS etat_vu_4, n0_.link AS link_5, n0_.priority AS priority_6, n0_.user_id AS user_id_7, n0_.emitter_id AS emitter_id_8 FROM notification n0_ WHERE n0_.user_id = ? AND n0_.etat_vu = ? AND n0_.link IS NOT NULL ORDER BY n0_.date_envoi DESC LIMIT 50
Parameters:
[
  15
  "non_vu"
]
0.58 ms
(6.31%)
1
SELECT t0.id AS id_1, t0.date AS date_2, t0.montant AS montant_3, t0.devis_id AS devis_id_4, t0.mode_id AS mode_id_5, t0.consultation_id AS consultation_id_6, t7.id AS id_8, t7.montant AS montant_9, t7.type AS type_10, t7.description AS description_11, t7.date_transaction AS date_transaction_12, t7.mode_de_paiement_id AS mode_de_paiement_id_13, t7.paiement_devis_id AS paiement_devis_id_14 FROM paiement_devis t0 LEFT JOIN transaction t7 ON t7.paiement_devis_id = t0.id WHERE t0.consultation_id = ?
Parameters:
[
  1162
]
0.32 ms
(3.50%)
1
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.type AS type_3, t0.actif AS actif_4, t0.notes AS notes_5 FROM mode_de_paiement 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 1
App\Entity\PaiementDevis 1
App\Entity\Devis 1
App\Entity\ModeDePaiement 1
App\Entity\Transaction 1
App\Entity\FicheMedicale 1
App\Entity\Consultation 1
App\Entity\Patient 1
App\Entity\Employe 1
App\Entity\Salle 1

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\Notification No errors.
App\Entity\PaiementDevis No errors.
App\Entity\Devis No errors.
App\Entity\ModeDePaiement No errors.
App\Entity\Consultation
  • The field App\Entity\Consultation#paiementDevis is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\PaiementDevis#consultation does not contain the required 'inversedBy="paiementDevis"' attribute.
App\Entity\Transaction No errors.
App\Entity\FicheObservation No errors.
App\Entity\FicheMedicale No errors.
App\Entity\Patient No errors.
App\Entity\Employe No errors.
App\Entity\Salle No errors.
App\Entity\ContenuDevis No errors.
App\Entity\ActeMedical No errors.
App\Entity\Ordonnance No errors.