POST https://etselboubacarbalde.damkocompany.com/public/logescom/vente/facturation/valdation/1

Query Metrics

84 Database Queries
26 Different statements
105.55 ms Query time
18 Invalid entities
59 Managed entities

Queries

Group similar statements

# Time Info
1 0.41 ms
SELECT t0.id AS id_1, t0.username AS username_2, t0.roles AS roles_3, t0.password AS password_4, t0.nom AS nom_5, t0.prenom AS prenom_6, t0.telephone AS telephone_7, t0.email AS email_8, t0.type_user AS type_user_9, t0.date_creation AS date_creation_10, t0.adresse AS adresse_11, t0.ville AS ville_12, t0.pays AS pays_13, t0.statut AS statut_14, t0.reference AS reference_15, t0.lieu_vente_id AS lieu_vente_id_16, t0.region_id AS region_id_17 FROM user t0 WHERE t0.id = ?
Parameters:
[
  1
]
2 10.14 ms
SELECT t0.id AS id_1, t0.nom_devise AS nom_devise_2 FROM devise t0 WHERE t0.id = ?
Parameters:
[
  1
]
3 0.48 ms
SELECT t0.id AS id_1, t0.adresse AS adresse_2, t0.pays AS pays_3, t0.region AS region_4, t0.ville AS ville_5, t0.telephone AS telephone_6, t0.email AS email_7, t0.latitude AS latitude_8, t0.longitude AS longitude_9, t0.initial AS initial_10, t0.type_commerce AS type_commerce_11, t0.lieu AS lieu_12, t0.entreprise_id AS entreprise_id_13, t0.gestionnaire_id AS gestionnaire_id_14 FROM lieux_ventes t0 WHERE t0.id = ?
Parameters:
[
  1
]
4 0.72 ms
SELECT MAX(f0_.id) AS sclr_0 FROM facturation f0_
Parameters:
[]
5 0.31 ms
SELECT t0.id AS id_1, t0.nom_stock AS nom_stock_2, t0.adresse AS adresse_3, t0.surface AS surface_4, t0.nbre_pieces AS nbre_pieces_5, t0.type AS type_6, t0.statut AS statut_7, t0.lieu_vente_id AS lieu_vente_id_8, t0.responsable_id AS responsable_id_9 FROM liste_stock t0 WHERE t0.id = ?
Parameters:
[
  "1"
]
6 0.28 ms
SELECT t0.id AS id_1, t0.designation AS designation_2, t0.type AS type_3, t0.numero_compte AS numero_compte_4, t0.document AS document_5, t0.point_de_vente_id AS point_de_vente_id_6 FROM caisse t0 WHERE t0.id = ?
Parameters:
[
  "1"
]
7 0.36 ms
SELECT t0.id AS id_1, t0.designation AS designation_2 FROM mode_paiement t0 WHERE t0.id = ?
Parameters:
[
  1
]
8 0.27 ms
SELECT t0.id AS id_1, t0.nom_devise AS nom_devise_2 FROM devise t0 WHERE t0.nom_devise = ? LIMIT 1
Parameters:
[
  "gnf"
]
9 0.26 ms
SELECT t0.id AS id_1, t0.nom_operation AS nom_operation_2 FROM categorie_operation t0 WHERE t0.id = ?
Parameters:
[
  1
]
10 0.21 ms
SELECT t0.id AS id_1, t0.numero_compte AS numero_compte_2, t0.commentaire AS commentaire_3 FROM compte_operation t0 WHERE t0.id = ?
Parameters:
[
  6
]
11 0.19 ms
SELECT t0.id AS id_1, t0.nom_devise AS nom_devise_2 FROM devise t0 WHERE t0.nom_devise = ? LIMIT 1
Parameters:
[
  "eu"
]
12 0.25 ms
SELECT t0.id AS id_1, t0.nom_devise AS nom_devise_2 FROM devise t0 WHERE t0.nom_devise = ? LIMIT 1
Parameters:
[
  "us"
]
13 0.23 ms
SELECT t0.id AS id_1, t0.nom_devise AS nom_devise_2 FROM devise t0 WHERE t0.nom_devise = ? LIMIT 1
Parameters:
[
  "cfa"
]
14 19.80 ms
SELECT t0.id AS id_1, t0.reference AS reference_2, t0.designation AS designation_3, t0.prix_vente AS prix_vente_4, t0.code_barre AS code_barre_5, t0.nbre_piece AS nbre_piece_6, t0.nbre_paquet AS nbre_paquet_7, t0.type_produit AS type_produit_8, t0.nbre_vente AS nbre_vente_9, t0.statut AS statut_10, t0.statut_comptable AS statut_comptable_11, t0.tva AS tva_12, t0.categorie_id AS categorie_id_13, t0.epaisseur_id AS epaisseur_id_14, t0.dimension_id AS dimension_id_15, t0.origine_id AS origine_id_16, t0.type_id AS type_id_17 FROM products t0 WHERE t0.id = ?
Parameters:
[
  91
]
15 0.59 ms
SELECT p0_.id AS id_0, p0_.quantite_min AS quantite_min_1, p0_.quantite_bonus AS quantite_bonus_2, p0_.etat AS etat_3, p0_.date_saisie AS date_saisie_4, p0_.produit_bonus_id AS produit_bonus_id_5, p0_.lieu_vente_id AS lieu_vente_id_6, p0_.saisie_par_id AS saisie_par_id_7 FROM promotion p0_ INNER JOIN promotion_products p2_ ON p0_.id = p2_.promotion_id INNER JOIN products p1_ ON p1_.id = p2_.products_id WHERE p1_.id = ?
Parameters:
[
  91
]
16 0.26 ms
SELECT t0.id AS id_1, t0.reference AS reference_2, t0.designation AS designation_3, t0.prix_vente AS prix_vente_4, t0.code_barre AS code_barre_5, t0.nbre_piece AS nbre_piece_6, t0.nbre_paquet AS nbre_paquet_7, t0.type_produit AS type_produit_8, t0.nbre_vente AS nbre_vente_9, t0.statut AS statut_10, t0.statut_comptable AS statut_comptable_11, t0.tva AS tva_12, t0.categorie_id AS categorie_id_13, t0.epaisseur_id AS epaisseur_id_14, t0.dimension_id AS dimension_id_15, t0.origine_id AS origine_id_16, t0.type_id AS type_id_17 FROM products t0 WHERE t0.id = ?
Parameters:
[
  141
]
17 0.37 ms
SELECT p0_.id AS id_0, p0_.quantite_min AS quantite_min_1, p0_.quantite_bonus AS quantite_bonus_2, p0_.etat AS etat_3, p0_.date_saisie AS date_saisie_4, p0_.produit_bonus_id AS produit_bonus_id_5, p0_.lieu_vente_id AS lieu_vente_id_6, p0_.saisie_par_id AS saisie_par_id_7 FROM promotion p0_ INNER JOIN promotion_products p2_ ON p0_.id = p2_.promotion_id INNER JOIN products p1_ ON p1_.id = p2_.products_id WHERE p1_.id = ?
Parameters:
[
  141
]
18 0.30 ms
SELECT t0.id AS id_1, t0.reference AS reference_2, t0.designation AS designation_3, t0.prix_vente AS prix_vente_4, t0.code_barre AS code_barre_5, t0.nbre_piece AS nbre_piece_6, t0.nbre_paquet AS nbre_paquet_7, t0.type_produit AS type_produit_8, t0.nbre_vente AS nbre_vente_9, t0.statut AS statut_10, t0.statut_comptable AS statut_comptable_11, t0.tva AS tva_12, t0.categorie_id AS categorie_id_13, t0.epaisseur_id AS epaisseur_id_14, t0.dimension_id AS dimension_id_15, t0.origine_id AS origine_id_16, t0.type_id AS type_id_17 FROM products t0 WHERE t0.id = ?
Parameters:
[
  1
]
19 0.31 ms
SELECT p0_.id AS id_0, p0_.quantite_min AS quantite_min_1, p0_.quantite_bonus AS quantite_bonus_2, p0_.etat AS etat_3, p0_.date_saisie AS date_saisie_4, p0_.produit_bonus_id AS produit_bonus_id_5, p0_.lieu_vente_id AS lieu_vente_id_6, p0_.saisie_par_id AS saisie_par_id_7 FROM promotion p0_ INNER JOIN promotion_products p2_ ON p0_.id = p2_.promotion_id INNER JOIN products p1_ ON p1_.id = p2_.products_id WHERE p1_.id = ?
Parameters:
[
  1
]
20 0.26 ms
SELECT t0.id AS id_1, t0.reference AS reference_2, t0.designation AS designation_3, t0.prix_vente AS prix_vente_4, t0.code_barre AS code_barre_5, t0.nbre_piece AS nbre_piece_6, t0.nbre_paquet AS nbre_paquet_7, t0.type_produit AS type_produit_8, t0.nbre_vente AS nbre_vente_9, t0.statut AS statut_10, t0.statut_comptable AS statut_comptable_11, t0.tva AS tva_12, t0.categorie_id AS categorie_id_13, t0.epaisseur_id AS epaisseur_id_14, t0.dimension_id AS dimension_id_15, t0.origine_id AS origine_id_16, t0.type_id AS type_id_17 FROM products t0 WHERE t0.id = ?
Parameters:
[
  515
]
21 0.31 ms
SELECT p0_.id AS id_0, p0_.quantite_min AS quantite_min_1, p0_.quantite_bonus AS quantite_bonus_2, p0_.etat AS etat_3, p0_.date_saisie AS date_saisie_4, p0_.produit_bonus_id AS produit_bonus_id_5, p0_.lieu_vente_id AS lieu_vente_id_6, p0_.saisie_par_id AS saisie_par_id_7 FROM promotion p0_ INNER JOIN promotion_products p2_ ON p0_.id = p2_.promotion_id INNER JOIN products p1_ ON p1_.id = p2_.products_id WHERE p1_.id = ?
Parameters:
[
  515
]
22 0.25 ms
SELECT t0.id AS id_1, t0.reference AS reference_2, t0.designation AS designation_3, t0.prix_vente AS prix_vente_4, t0.code_barre AS code_barre_5, t0.nbre_piece AS nbre_piece_6, t0.nbre_paquet AS nbre_paquet_7, t0.type_produit AS type_produit_8, t0.nbre_vente AS nbre_vente_9, t0.statut AS statut_10, t0.statut_comptable AS statut_comptable_11, t0.tva AS tva_12, t0.categorie_id AS categorie_id_13, t0.epaisseur_id AS epaisseur_id_14, t0.dimension_id AS dimension_id_15, t0.origine_id AS origine_id_16, t0.type_id AS type_id_17 FROM products t0 WHERE t0.id = ?
Parameters:
[
  167
]
23 0.28 ms
SELECT p0_.id AS id_0, p0_.quantite_min AS quantite_min_1, p0_.quantite_bonus AS quantite_bonus_2, p0_.etat AS etat_3, p0_.date_saisie AS date_saisie_4, p0_.produit_bonus_id AS produit_bonus_id_5, p0_.lieu_vente_id AS lieu_vente_id_6, p0_.saisie_par_id AS saisie_par_id_7 FROM promotion p0_ INNER JOIN promotion_products p2_ ON p0_.id = p2_.promotion_id INNER JOIN products p1_ ON p1_.id = p2_.products_id WHERE p1_.id = ?
Parameters:
[
  167
]
24 0.30 ms
SELECT t0.id AS id_1, t0.reference AS reference_2, t0.designation AS designation_3, t0.prix_vente AS prix_vente_4, t0.code_barre AS code_barre_5, t0.nbre_piece AS nbre_piece_6, t0.nbre_paquet AS nbre_paquet_7, t0.type_produit AS type_produit_8, t0.nbre_vente AS nbre_vente_9, t0.statut AS statut_10, t0.statut_comptable AS statut_comptable_11, t0.tva AS tva_12, t0.categorie_id AS categorie_id_13, t0.epaisseur_id AS epaisseur_id_14, t0.dimension_id AS dimension_id_15, t0.origine_id AS origine_id_16, t0.type_id AS type_id_17 FROM products t0 WHERE t0.id = ?
Parameters:
[
  240
]
25 0.31 ms
SELECT p0_.id AS id_0, p0_.quantite_min AS quantite_min_1, p0_.quantite_bonus AS quantite_bonus_2, p0_.etat AS etat_3, p0_.date_saisie AS date_saisie_4, p0_.produit_bonus_id AS produit_bonus_id_5, p0_.lieu_vente_id AS lieu_vente_id_6, p0_.saisie_par_id AS saisie_par_id_7 FROM promotion p0_ INNER JOIN promotion_products p2_ ON p0_.id = p2_.promotion_id INNER JOIN products p1_ ON p1_.id = p2_.products_id WHERE p1_.id = ?
Parameters:
[
  240
]
26 0.27 ms
SELECT t0.id AS id_1, t0.reference AS reference_2, t0.designation AS designation_3, t0.prix_vente AS prix_vente_4, t0.code_barre AS code_barre_5, t0.nbre_piece AS nbre_piece_6, t0.nbre_paquet AS nbre_paquet_7, t0.type_produit AS type_produit_8, t0.nbre_vente AS nbre_vente_9, t0.statut AS statut_10, t0.statut_comptable AS statut_comptable_11, t0.tva AS tva_12, t0.categorie_id AS categorie_id_13, t0.epaisseur_id AS epaisseur_id_14, t0.dimension_id AS dimension_id_15, t0.origine_id AS origine_id_16, t0.type_id AS type_id_17 FROM products t0 WHERE t0.id = ?
Parameters:
[
  123
]
27 15.79 ms
SELECT p0_.id AS id_0, p0_.quantite_min AS quantite_min_1, p0_.quantite_bonus AS quantite_bonus_2, p0_.etat AS etat_3, p0_.date_saisie AS date_saisie_4, p0_.produit_bonus_id AS produit_bonus_id_5, p0_.lieu_vente_id AS lieu_vente_id_6, p0_.saisie_par_id AS saisie_par_id_7 FROM promotion p0_ INNER JOIN promotion_products p2_ ON p0_.id = p2_.promotion_id INNER JOIN products p1_ ON p1_.id = p2_.products_id WHERE p1_.id = ?
Parameters:
[
  123
]
28 0.35 ms
SELECT p0_.id AS id_0, p0_.quantite_min AS quantite_min_1, p0_.quantite_bonus AS quantite_bonus_2, p0_.etat AS etat_3, p0_.date_saisie AS date_saisie_4, p0_.produit_bonus_id AS produit_bonus_id_5, p0_.lieu_vente_id AS lieu_vente_id_6, p0_.saisie_par_id AS saisie_par_id_7 FROM promotion p0_ INNER JOIN promotion_products p2_ ON p0_.id = p2_.promotion_id INNER JOIN products p1_ ON p1_.id = p2_.products_id WHERE p1_.id = ?
Parameters:
[
  91
]
29 0.32 ms
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.prix_achat AS prix_achat_3, t0.prix_revient AS prix_revient_4, t0.prix_vente AS prix_vente_5, t0.date_peremption AS date_peremption_6, t0.stock_produit_id AS stock_produit_id_7, t0.product_id AS product_id_8 FROM stock t0 WHERE t0.product_id = ? AND t0.stock_produit_id = ? LIMIT 1
Parameters:
[
  91
  1
]
30 0.27 ms
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.prix_achat AS prix_achat_3, t0.prix_revient AS prix_revient_4, t0.prix_vente AS prix_vente_5, t0.date_peremption AS date_peremption_6, t0.stock_produit_id AS stock_produit_id_7, t0.product_id AS product_id_8 FROM stock t0 WHERE t0.stock_produit_id = ? AND t0.product_id = ? LIMIT 1
Parameters:
[
  1
  91
]
31 0.31 ms
SELECT p0_.id AS id_0, p0_.quantite_min AS quantite_min_1, p0_.quantite_bonus AS quantite_bonus_2, p0_.etat AS etat_3, p0_.date_saisie AS date_saisie_4, p0_.produit_bonus_id AS produit_bonus_id_5, p0_.lieu_vente_id AS lieu_vente_id_6, p0_.saisie_par_id AS saisie_par_id_7 FROM promotion p0_ INNER JOIN promotion_products p2_ ON p0_.id = p2_.promotion_id INNER JOIN products p1_ ON p1_.id = p2_.products_id WHERE p1_.id = ?
Parameters:
[
  141
]
32 0.31 ms
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.prix_achat AS prix_achat_3, t0.prix_revient AS prix_revient_4, t0.prix_vente AS prix_vente_5, t0.date_peremption AS date_peremption_6, t0.stock_produit_id AS stock_produit_id_7, t0.product_id AS product_id_8 FROM stock t0 WHERE t0.product_id = ? AND t0.stock_produit_id = ? LIMIT 1
Parameters:
[
  141
  1
]
33 0.28 ms
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.prix_achat AS prix_achat_3, t0.prix_revient AS prix_revient_4, t0.prix_vente AS prix_vente_5, t0.date_peremption AS date_peremption_6, t0.stock_produit_id AS stock_produit_id_7, t0.product_id AS product_id_8 FROM stock t0 WHERE t0.stock_produit_id = ? AND t0.product_id = ? LIMIT 1
Parameters:
[
  1
  141
]
34 19.73 ms
SELECT t0.id AS id_1, t0.type AS type_2, t0.produit1_id AS produit1_id_3, t0.produit2_id AS produit2_id_4 FROM liaison_produit t0 WHERE t0.produit2_id = ? LIMIT 1
Parameters:
[
  141
]
35 0.44 ms
SELECT p0_.id AS id_0, p0_.quantite_min AS quantite_min_1, p0_.quantite_bonus AS quantite_bonus_2, p0_.etat AS etat_3, p0_.date_saisie AS date_saisie_4, p0_.produit_bonus_id AS produit_bonus_id_5, p0_.lieu_vente_id AS lieu_vente_id_6, p0_.saisie_par_id AS saisie_par_id_7 FROM promotion p0_ INNER JOIN promotion_products p2_ ON p0_.id = p2_.promotion_id INNER JOIN products p1_ ON p1_.id = p2_.products_id WHERE p1_.id = ?
Parameters:
[
  1
]
36 0.34 ms
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.prix_achat AS prix_achat_3, t0.prix_revient AS prix_revient_4, t0.prix_vente AS prix_vente_5, t0.date_peremption AS date_peremption_6, t0.stock_produit_id AS stock_produit_id_7, t0.product_id AS product_id_8 FROM stock t0 WHERE t0.product_id = ? AND t0.stock_produit_id = ? LIMIT 1
Parameters:
[
  1
  1
]
37 0.27 ms
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.prix_achat AS prix_achat_3, t0.prix_revient AS prix_revient_4, t0.prix_vente AS prix_vente_5, t0.date_peremption AS date_peremption_6, t0.stock_produit_id AS stock_produit_id_7, t0.product_id AS product_id_8 FROM stock t0 WHERE t0.stock_produit_id = ? AND t0.product_id = ? LIMIT 1
Parameters:
[
  1
  1
]
38 1.07 ms
SELECT s0_.prix_achat AS prix_achat_0, s0_.prix_revient AS prix_revient_1 FROM stock s0_ LEFT JOIN liste_stock l1_ ON s0_.stock_produit_id = l1_.id WHERE s0_.product_id = ? AND (s0_.prix_achat > 0 OR s0_.prix_revient > 0) AND l1_.lieu_vente_id = ? ORDER BY s0_.id DESC LIMIT 1
Parameters:
[
  515
  1
]
39 0.33 ms
SELECT p0_.id AS id_0, p0_.quantite_min AS quantite_min_1, p0_.quantite_bonus AS quantite_bonus_2, p0_.etat AS etat_3, p0_.date_saisie AS date_saisie_4, p0_.produit_bonus_id AS produit_bonus_id_5, p0_.lieu_vente_id AS lieu_vente_id_6, p0_.saisie_par_id AS saisie_par_id_7 FROM promotion p0_ INNER JOIN promotion_products p2_ ON p0_.id = p2_.promotion_id INNER JOIN products p1_ ON p1_.id = p2_.products_id WHERE p1_.id = ?
Parameters:
[
  515
]
40 0.30 ms
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.prix_achat AS prix_achat_3, t0.prix_revient AS prix_revient_4, t0.prix_vente AS prix_vente_5, t0.date_peremption AS date_peremption_6, t0.stock_produit_id AS stock_produit_id_7, t0.product_id AS product_id_8 FROM stock t0 WHERE t0.product_id = ? AND t0.stock_produit_id = ? LIMIT 1
Parameters:
[
  515
  1
]
41 0.27 ms
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.prix_achat AS prix_achat_3, t0.prix_revient AS prix_revient_4, t0.prix_vente AS prix_vente_5, t0.date_peremption AS date_peremption_6, t0.stock_produit_id AS stock_produit_id_7, t0.product_id AS product_id_8 FROM stock t0 WHERE t0.stock_produit_id = ? AND t0.product_id = ? LIMIT 1
Parameters:
[
  1
  515
]
42 0.32 ms
SELECT p0_.id AS id_0, p0_.quantite_min AS quantite_min_1, p0_.quantite_bonus AS quantite_bonus_2, p0_.etat AS etat_3, p0_.date_saisie AS date_saisie_4, p0_.produit_bonus_id AS produit_bonus_id_5, p0_.lieu_vente_id AS lieu_vente_id_6, p0_.saisie_par_id AS saisie_par_id_7 FROM promotion p0_ INNER JOIN promotion_products p2_ ON p0_.id = p2_.promotion_id INNER JOIN products p1_ ON p1_.id = p2_.products_id WHERE p1_.id = ?
Parameters:
[
  167
]
43 0.34 ms
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.prix_achat AS prix_achat_3, t0.prix_revient AS prix_revient_4, t0.prix_vente AS prix_vente_5, t0.date_peremption AS date_peremption_6, t0.stock_produit_id AS stock_produit_id_7, t0.product_id AS product_id_8 FROM stock t0 WHERE t0.product_id = ? AND t0.stock_produit_id = ? LIMIT 1
Parameters:
[
  167
  1
]
44 0.34 ms
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.prix_achat AS prix_achat_3, t0.prix_revient AS prix_revient_4, t0.prix_vente AS prix_vente_5, t0.date_peremption AS date_peremption_6, t0.stock_produit_id AS stock_produit_id_7, t0.product_id AS product_id_8 FROM stock t0 WHERE t0.stock_produit_id = ? AND t0.product_id = ? LIMIT 1
Parameters:
[
  1
  167
]
45 0.32 ms
SELECT p0_.id AS id_0, p0_.quantite_min AS quantite_min_1, p0_.quantite_bonus AS quantite_bonus_2, p0_.etat AS etat_3, p0_.date_saisie AS date_saisie_4, p0_.produit_bonus_id AS produit_bonus_id_5, p0_.lieu_vente_id AS lieu_vente_id_6, p0_.saisie_par_id AS saisie_par_id_7 FROM promotion p0_ INNER JOIN promotion_products p2_ ON p0_.id = p2_.promotion_id INNER JOIN products p1_ ON p1_.id = p2_.products_id WHERE p1_.id = ?
Parameters:
[
  240
]
46 0.35 ms
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.prix_achat AS prix_achat_3, t0.prix_revient AS prix_revient_4, t0.prix_vente AS prix_vente_5, t0.date_peremption AS date_peremption_6, t0.stock_produit_id AS stock_produit_id_7, t0.product_id AS product_id_8 FROM stock t0 WHERE t0.product_id = ? AND t0.stock_produit_id = ? LIMIT 1
Parameters:
[
  240
  1
]
47 0.28 ms
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.prix_achat AS prix_achat_3, t0.prix_revient AS prix_revient_4, t0.prix_vente AS prix_vente_5, t0.date_peremption AS date_peremption_6, t0.stock_produit_id AS stock_produit_id_7, t0.product_id AS product_id_8 FROM stock t0 WHERE t0.stock_produit_id = ? AND t0.product_id = ? LIMIT 1
Parameters:
[
  1
  240
]
48 0.32 ms
SELECT p0_.id AS id_0, p0_.quantite_min AS quantite_min_1, p0_.quantite_bonus AS quantite_bonus_2, p0_.etat AS etat_3, p0_.date_saisie AS date_saisie_4, p0_.produit_bonus_id AS produit_bonus_id_5, p0_.lieu_vente_id AS lieu_vente_id_6, p0_.saisie_par_id AS saisie_par_id_7 FROM promotion p0_ INNER JOIN promotion_products p2_ ON p0_.id = p2_.promotion_id INNER JOIN products p1_ ON p1_.id = p2_.products_id WHERE p1_.id = ?
Parameters:
[
  123
]
49 0.31 ms
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.prix_achat AS prix_achat_3, t0.prix_revient AS prix_revient_4, t0.prix_vente AS prix_vente_5, t0.date_peremption AS date_peremption_6, t0.stock_produit_id AS stock_produit_id_7, t0.product_id AS product_id_8 FROM stock t0 WHERE t0.product_id = ? AND t0.stock_produit_id = ? LIMIT 1
Parameters:
[
  123
  1
]
50 0.27 ms
SELECT t0.id AS id_1, t0.quantite AS quantite_2, t0.prix_achat AS prix_achat_3, t0.prix_revient AS prix_revient_4, t0.prix_vente AS prix_vente_5, t0.date_peremption AS date_peremption_6, t0.stock_produit_id AS stock_produit_id_7, t0.product_id AS product_id_8 FROM stock t0 WHERE t0.stock_produit_id = ? AND t0.product_id = ? LIMIT 1
Parameters:
[
  1
  123
]
51 0.15 ms
"START TRANSACTION"
Parameters:
[]
52 0.46 ms
INSERT INTO facturation (numero_facture, total_facture, montant_paye, montant_remise, etat, etat_livraison, date_facturation, date_saisie, date_alerte, commentaire, nom_client_cash, frais_sup, taux, client_id, caisse_id, lieu_vente_id, saisie_par_id, mode_paie_id, proformat_id, devise_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "acf260605"
  "1195000"
  "1195000"
  "0"
  "payé"
  "livré"
  "2026-04-15 11:48:32"
  "2026-04-15 11:48:32"
  null
  null
  null
  "0"
  null
  null
  1
  1
  1
  1
  null
  null
]
53 0.41 ms
INSERT INTO mouvement_caisse (type_mouvement, montant, date_operation, date_saisie, numero_paie, banque_cheque, taux, etat_operation, date_sortie, type_sortie, detail_sortie, lieu_vente_id, caisse_id, categorie_operation_id, compte_operation_id, devise_id, decaissement_id, avance_salaire_id, paiement_salaire_id, depense_id, versement_id, transfert_fond_id, cheque_espece_id, recette_id, facturation_id, mode_paie_id, retour_product_id, echange_id, saisie_par_id, cloture_id, sortie_stock_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "facturation"
  "1195000"
  "2026-04-15 11:48:32"
  "2026-04-15 11:48:32"
  null
  null
  1.0
  "non traite"
  null
  null
  null
  1
  1
  1
  6
  1
  null
  null
  null
  null
  null
  null
  null
  null
  605
  1
  null
  null
  1
  null
  null
]
54 0.27 ms
INSERT INTO commande_product (prix_vente, prix_revient, prix_achat, quantite, quantite_livre, remise, tva, facturation_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "160000"
  "132000.00"
  "148000.00"
  1.0
  1.0
  "0"
  0.0
  605
  91
]
55 0.49 ms
INSERT INTO livraison (quantite_liv, date_livraison, date_saisie, commentaire, commande_id, saisie_par_id, stock_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1.0
  "2026-04-15 11:48:32"
  "2026-04-15 11:48:32"
  "livraison direct"
  7205
  1
  1
]
56 0.45 ms
INSERT INTO mouvement_product (quantite, date_operation, origine, description, stock_product_id, product_id, lieu_vente_id, personnel_id, client_id, inventaire_id, anomalie_id, transfert_id, achat_fournisseur_id, livraison_id, livraison_multiple_id, sortie_stock_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  -1.0
  "2026-04-15 11:48:32"
  "vente direct"
  "vente direct"
  1
  91
  1
  1
  null
  null
  null
  null
  null
  6948
  null
  null
]
57 0.25 ms
INSERT INTO commande_product (prix_vente, prix_revient, prix_achat, quantite, quantite_livre, remise, tva, facturation_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "329000"
  "300000.00"
  "290000.00"
  2.0
  2.0
  "0"
  0.0
  605
  141
]
58 0.29 ms
INSERT INTO livraison (quantite_liv, date_livraison, date_saisie, commentaire, commande_id, saisie_par_id, stock_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  2.0
  "2026-04-15 11:48:32"
  "2026-04-15 11:48:32"
  "livraison direct"
  7206
  1
  1
]
59 0.28 ms
INSERT INTO mouvement_product (quantite, date_operation, origine, description, stock_product_id, product_id, lieu_vente_id, personnel_id, client_id, inventaire_id, anomalie_id, transfert_id, achat_fournisseur_id, livraison_id, livraison_multiple_id, sortie_stock_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  -2.0
  "2026-04-15 11:48:32"
  "vente direct"
  "vente direct"
  1
  141
  1
  1
  null
  null
  null
  null
  null
  6949
  null
  null
]
60 0.27 ms
INSERT INTO commande_product (prix_vente, prix_revient, prix_achat, quantite, quantite_livre, remise, tva, facturation_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "20000"
  "15000.00"
  "17100.00"
  1.0
  1.0
  "0"
  0.0
  605
  1
]
61 0.23 ms
INSERT INTO livraison (quantite_liv, date_livraison, date_saisie, commentaire, commande_id, saisie_par_id, stock_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1.0
  "2026-04-15 11:48:32"
  "2026-04-15 11:48:32"
  "livraison direct"
  7207
  1
  1
]
62 0.28 ms
INSERT INTO mouvement_product (quantite, date_operation, origine, description, stock_product_id, product_id, lieu_vente_id, personnel_id, client_id, inventaire_id, anomalie_id, transfert_id, achat_fournisseur_id, livraison_id, livraison_multiple_id, sortie_stock_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  -1.0
  "2026-04-15 11:48:32"
  "vente direct"
  "vente direct"
  1
  1
  1
  1
  null
  null
  null
  null
  null
  6950
  null
  null
]
63 0.23 ms
INSERT INTO commande_product (prix_vente, prix_revient, prix_achat, quantite, quantite_livre, remise, tva, facturation_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "10000"
  "0.00"
  "5000.00"
  1.0
  1.0
  "0"
  0.0
  605
  515
]
64 14.13 ms
INSERT INTO livraison (quantite_liv, date_livraison, date_saisie, commentaire, commande_id, saisie_par_id, stock_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1.0
  "2026-04-15 11:48:32"
  "2026-04-15 11:48:32"
  "livraison direct"
  7208
  1
  1
]
65 0.48 ms
INSERT INTO mouvement_product (quantite, date_operation, origine, description, stock_product_id, product_id, lieu_vente_id, personnel_id, client_id, inventaire_id, anomalie_id, transfert_id, achat_fournisseur_id, livraison_id, livraison_multiple_id, sortie_stock_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  -1.0
  "2026-04-15 11:48:32"
  "vente direct"
  "vente direct"
  1
  515
  1
  1
  null
  null
  null
  null
  null
  6951
  null
  null
]
66 0.34 ms
INSERT INTO commande_product (prix_vente, prix_revient, prix_achat, quantite, quantite_livre, remise, tva, facturation_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "150000"
  "115000.00"
  "131400.00"
  1.0
  1.0
  "0"
  0.0
  605
  167
]
67 0.31 ms
INSERT INTO livraison (quantite_liv, date_livraison, date_saisie, commentaire, commande_id, saisie_par_id, stock_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1.0
  "2026-04-15 11:48:32"
  "2026-04-15 11:48:32"
  "livraison direct"
  7209
  1
  1
]
68 0.79 ms
INSERT INTO mouvement_product (quantite, date_operation, origine, description, stock_product_id, product_id, lieu_vente_id, personnel_id, client_id, inventaire_id, anomalie_id, transfert_id, achat_fournisseur_id, livraison_id, livraison_multiple_id, sortie_stock_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  -1.0
  "2026-04-15 11:48:32"
  "vente direct"
  "vente direct"
  1
  167
  1
  1
  null
  null
  null
  null
  null
  6952
  null
  null
]
69 0.33 ms
INSERT INTO commande_product (prix_vente, prix_revient, prix_achat, quantite, quantite_livre, remise, tva, facturation_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "60000"
  "55000.00"
  "57600.00"
  1.0
  1.0
  "0"
  0.0
  605
  240
]
70 0.49 ms
INSERT INTO livraison (quantite_liv, date_livraison, date_saisie, commentaire, commande_id, saisie_par_id, stock_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1.0
  "2026-04-15 11:48:32"
  "2026-04-15 11:48:32"
  "livraison direct"
  7210
  1
  1
]
71 0.51 ms
INSERT INTO mouvement_product (quantite, date_operation, origine, description, stock_product_id, product_id, lieu_vente_id, personnel_id, client_id, inventaire_id, anomalie_id, transfert_id, achat_fournisseur_id, livraison_id, livraison_multiple_id, sortie_stock_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  -1.0
  "2026-04-15 11:48:32"
  "vente direct"
  "vente direct"
  1
  240
  1
  1
  null
  null
  null
  null
  null
  6953
  null
  null
]
72 0.26 ms
INSERT INTO commande_product (prix_vente, prix_revient, prix_achat, quantite, quantite_livre, remise, tva, facturation_id, product_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "137000"
  "120000.00"
  "136800.00"
  1.0
  1.0
  "0"
  0.0
  605
  123
]
73 0.20 ms
INSERT INTO livraison (quantite_liv, date_livraison, date_saisie, commentaire, commande_id, saisie_par_id, stock_id) VALUES (?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1.0
  "2026-04-15 11:48:32"
  "2026-04-15 11:48:32"
  "livraison direct"
  7211
  1
  1
]
74 0.22 ms
INSERT INTO mouvement_product (quantite, date_operation, origine, description, stock_product_id, product_id, lieu_vente_id, personnel_id, client_id, inventaire_id, anomalie_id, transfert_id, achat_fournisseur_id, livraison_id, livraison_multiple_id, sortie_stock_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  -1.0
  "2026-04-15 11:48:32"
  "vente direct"
  "vente direct"
  1
  123
  1
  1
  null
  null
  null
  null
  null
  6954
  null
  null
]
75 0.24 ms
UPDATE stock SET quantite = ? WHERE id = ?
Parameters:
[
  174.0
  91
]
76 0.22 ms
UPDATE stock SET quantite = ? WHERE id = ?
Parameters:
[
  -3.0
  141
]
77 0.23 ms
UPDATE stock SET quantite = ? WHERE id = ?
Parameters:
[
  953.0
  1
]
78 0.25 ms
UPDATE stock SET quantite = ? WHERE id = ?
Parameters:
[
  43.0
  515
]
79 0.22 ms
UPDATE stock SET quantite = ? WHERE id = ?
Parameters:
[
  124.0
  167
]
80 0.22 ms
UPDATE stock SET quantite = ? WHERE id = ?
Parameters:
[
  30.0
  240
]
81 0.23 ms
UPDATE stock SET quantite = ? WHERE id = ?
Parameters:
[
  74.0
  123
]
82 0.22 ms
"COMMIT"
Parameters:
[]
83 0.37 ms
SELECT t0.id AS id_1, t0.numero_facture AS numero_facture_2, t0.total_facture AS total_facture_3, t0.montant_paye AS montant_paye_4, t0.montant_remise AS montant_remise_5, t0.etat AS etat_6, t0.etat_livraison AS etat_livraison_7, t0.date_facturation AS date_facturation_8, t0.date_saisie AS date_saisie_9, t0.date_alerte AS date_alerte_10, t0.commentaire AS commentaire_11, t0.nom_client_cash AS nom_client_cash_12, t0.frais_sup AS frais_sup_13, t0.taux AS taux_14, t0.client_id AS client_id_15, t0.caisse_id AS caisse_id_16, t0.lieu_vente_id AS lieu_vente_id_17, t0.saisie_par_id AS saisie_par_id_18, t0.mode_paie_id AS mode_paie_id_19, t0.proformat_id AS proformat_id_20, t0.devise_id AS devise_id_21 FROM facturation t0 ORDER BY t0.id DESC LIMIT 1
Parameters:
[]
84 0.29 ms
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.etat AS etat_3, t0.frequence AS frequence_4, t0.message AS message_5 FROM configuration_sms t0 WHERE t0.nom = ? AND t0.etat = ? LIMIT 1
Parameters:
[
  "vente"
  "actif"
]

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\Products 7
App\Entity\Categorie 7
App\Entity\Stock 7
App\Entity\CommandeProduct 7
App\Entity\Livraison 7
App\Entity\MouvementProduct 7
App\Entity\Devise 4
App\Entity\User 2
App\Entity\LieuxVentes 1
App\Entity\Region 1
App\Entity\Entreprise 1
App\Entity\ListeStock 1
App\Entity\Caisse 1
App\Entity\PointDeVente 1
App\Entity\ModePaiement 1
App\Entity\CategorieOperation 1
App\Entity\CompteOperation 1
App\Entity\Facturation 1
App\Entity\MouvementCaisse 1

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\LieuxVentes No errors.
App\Entity\Region No errors.
App\Entity\ListeStock No errors.
App\Entity\Personnel No errors.
App\Entity\Client No errors.
App\Entity\ListeInventaire No errors.
App\Entity\Inventaire No errors.
App\Entity\MouvementProduct No errors.
App\Entity\AnomalieProduit No errors.
App\Entity\ListeTransfertProduct No errors.
App\Entity\TransfertProducts
  • The mappings App\Entity\TransfertProducts#traitePar and App\Entity\User#transfertProduct are inconsistent with each other.
App\Entity\AchatFournisseur No errors.
App\Entity\ListeProductAchatFournisseur No errors.
App\Entity\Decaissement No errors.
App\Entity\MouvementCollaborateur No errors.
App\Entity\BonCommandeFournisseur No errors.
App\Entity\AbsencesPersonnels No errors.
App\Entity\PrimesPersonnel
  • The mappings App\Entity\PrimesPersonnel#saisiePar and App\Entity\User#primesPersonnels are inconsistent with each other.
App\Entity\AvanceSalaire
  • The association App\Entity\AvanceSalaire#devise refers to the inverse side field App\Entity\Devise#avanceSalaires which does not exist.
App\Entity\PaiementSalairePersonnel
  • The mappings App\Entity\PaiementSalairePersonnel#saisiePar and App\Entity\User#paiementSalairePersonnels are inconsistent with each other.
  • The association App\Entity\PaiementSalairePersonnel#compteRetrait refers to the inverse side field App\Entity\Caisse#paiementSalairePersonnels which does not exist.
  • The association App\Entity\PaiementSalairePersonnel#typePaiement refers to the inverse side field App\Entity\ModePaiement#paiementSalairePersonnels which does not exist.
  • The association App\Entity\PaiementSalairePersonnel#devise refers to the inverse side field App\Entity\Devise#paiementSalairePersonnels which does not exist.
App\Entity\ModifDecaissement No errors.
App\Entity\Depenses No errors.
App\Entity\Versement No errors.
App\Entity\Modification
  • The mappings App\Entity\Modification#traitePar and App\Entity\User#modifications are inconsistent with each other.
App\Entity\TransfertFond
  • The mappings App\Entity\TransfertFond#caisseReception and App\Entity\Caisse#transfertFonds are inconsistent with each other.
  • The mappings App\Entity\TransfertFond#envoyePar and App\Entity\User#transfertFonds are inconsistent with each other.
App\Entity\ChequeEspece
  • The mappings App\Entity\ChequeEspece#caisseRetrait and App\Entity\Caisse#chequeEspeces are inconsistent with each other.
  • The mappings App\Entity\ChequeEspece#saisiePar and App\Entity\User#chequeEspeces are inconsistent with each other.
App\Entity\Recette No errors.
App\Entity\AjustementSolde No errors.
App\Entity\Livraison No errors.
App\Entity\Facturation
  • The mappings App\Entity\Facturation#saisiePar and App\Entity\User#facturations are inconsistent with each other.
App\Entity\CommissionVente No errors.
App\Entity\ModificationFacture
  • The mappings App\Entity\ModificationFacture#client and App\Entity\User#modificationFactures are inconsistent with each other.
App\Entity\Proformat
  • The mappings App\Entity\Proformat#saisiePar and App\Entity\User#proformats are inconsistent with each other.
App\Entity\SuppressionFacture No errors.
App\Entity\RetourProduct
  • The association App\Entity\RetourProduct#lieuVente refers to the inverse side field App\Entity\LieuxVentes#retourProducts which does not exist.
App\Entity\EchangeDevise
  • The mappings App\Entity\EchangeDevise#caisseDestination and App\Entity\Caisse#echangeDevises are inconsistent with each other.
  • The mappings App\Entity\EchangeDevise#deviseDestination and App\Entity\Devise#echangeDevises are inconsistent with each other.
App\Entity\MouvementCaisse No errors.
App\Entity\GestionCheque
  • The mappings App\Entity\GestionCheque#caisseReception and App\Entity\Caisse#gestionCheques are inconsistent with each other.
  • The mappings App\Entity\GestionCheque#lieuVenteReception and App\Entity\LieuxVentes#gestionCheques are inconsistent with each other.
  • The mappings App\Entity\GestionCheque#envoyePar and App\Entity\User#gestionCheques are inconsistent with each other.
  • The mappings App\Entity\GestionCheque#collaborateur and App\Entity\User#gestionCheques are inconsistent with each other.
App\Entity\ClotureCaisse No errors.
App\Entity\RetourProductFournisseur No errors.
App\Entity\FactureFrais
  • The mappings App\Entity\FactureFrais#personnel and App\Entity\User#factureFrais are inconsistent with each other.
App\Entity\ListeProductAchatFournisseurFrais No errors.
App\Entity\ListeProductAchatFournisseurMultiple No errors.
App\Entity\AchatFournisseurGeneral
  • The mappings App\Entity\AchatFournisseurGeneral#personnel and App\Entity\User#achatFournisseurGenerals are inconsistent with each other.
App\Entity\Promotion
  • The mappings App\Entity\Promotion#produitBonus and App\Entity\Products#promotions are inconsistent with each other.
  • If association App\Entity\Promotion#produitBonus is many-to-one, then the inversed side App\Entity\Products#promotions has to be one-to-many.
App\Entity\SortieStock No errors.
App\Entity\ClotureAnnuel No errors.
App\Entity\HistoriqueChangement No errors.
App\Entity\Devise No errors.
App\Entity\FactureFraisSup No errors.
App\Entity\TauxDevise No errors.
App\Entity\ProformatFraisSup No errors.
App\Entity\Entreprise No errors.
App\Entity\PointDeVente No errors.
App\Entity\Stock
  • The mappings App\Entity\Stock#product and App\Entity\Products#stocks are inconsistent with each other.
App\Entity\Caisse No errors.
App\Entity\ModePaiement No errors.
App\Entity\CategorieOperation No errors.
App\Entity\CompteOperation No errors.
App\Entity\Products
  • The association App\Entity\Products#stocks refers to the owning side field App\Entity\Stock#products which does not exist.
App\Entity\Categorie No errors.
App\Entity\Epaisseurs No errors.
App\Entity\Dimensions No errors.
App\Entity\OrigineProduit No errors.
App\Entity\TypeProduit No errors.
App\Entity\LiaisonProduit No errors.
App\Entity\ListeProductBonFournisseur No errors.
App\Entity\CommandeProduct No errors.
App\Entity\ProformatProduct No errors.
App\Entity\ConfigurationSms No errors.