POST https://app.retouralasourcefx.com/api/operations/versement

Query Metrics

32 Database Queries
27 Different statements
23.22 ms Query time
7 Invalid entities
21 Managed entities

Queries

Group similar statements

# Time Info
1 0.32 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.nom AS nom_3, t0.prenoms AS prenoms_4, t0.telephone AS telephone_5, t0.roles AS roles_6, t0.password AS password_7, t0.is_active AS is_active_8, t0.is_email_auth_enabled AS is_email_auth_enabled_9, t0.is_sms_auth_enabled AS is_sms_auth_enabled_10, t0.auth_code AS auth_code_11, t0.created_at AS created_at_12, t0.updated_at AS updated_at_13, t0.avatar AS avatar_14, t0.push_token AS push_token_15, t0.push_subscription AS push_subscription_16, t0.must_change_password AS must_change_password_17, t0.agence_id AS agence_id_18, t0.service_transfert_id AS service_transfert_id_19, t20.id AS id_21, t20.nom AS nom_22, t20.prenoms AS prenoms_23, t20.contact AS contact_24, t20.email AS email_25, t20.registre_commerce AS registre_commerce_26, t20.profession AS profession_27, t20.created_at AS created_at_28, t20.ifu AS ifu_29, t20.code_client AS code_client_30, t20.created_by_id AS created_by_id_31, t20.agence_id AS agence_id_32, t20.user_id AS user_id_33 FROM user t0 LEFT JOIN client t20 ON t20.user_id = t0.id WHERE t0.email = ? LIMIT 1
Parameters:
[
  "zantoinette@retouralasourcefx.com"
]
2 0.73 ms
SELECT a0_.id AS id_0, a0_.date_debut AS date_debut_1, a0_.is_active AS is_active_2, a0_.is_appro_initial_valide AS is_appro_initial_valide_3, a0_.date_fin AS date_fin_4, a0_.caissier_id AS caissier_id_5, a0_.caisse_id AS caisse_id_6 FROM affectation_caisse a0_ WHERE a0_.caissier_id = ? AND a0_.is_active = ? AND a0_.date_debut <= ? AND (a0_.date_fin IS NULL OR a0_.date_fin >= ?) ORDER BY a0_.date_debut DESC LIMIT 1
Parameters:
[
  20
  1
  "2026-07-31 13:02:33"
  "2026-07-31 13:02:33"
]
3 0.25 ms
DELETE FROM user_sessions WHERE last_activity < ?
Parameters:
[
  "2026-07-31 12:47:33"
]
4 0.57 ms
SELECT i0_.id AS id_0, i0_.key_hash AS key_hash_1, i0_.status_code AS status_code_2, i0_.response_body AS response_body_3, i0_.created_at AS created_at_4 FROM idempotency_key i0_ WHERE i0_.key_hash = ? AND i0_.created_at >= ?
Parameters:
[
  "3ffcbcfbca9f89f1bdd7b34ebe5ed8c208a2bde20cfbf80069a199f3e644e263"
  "2026-07-31 12:52:33"
]
5 0.13 ms
SELECT a0_.id AS id_0, a0_.date_debut AS date_debut_1, a0_.is_active AS is_active_2, a0_.is_appro_initial_valide AS is_appro_initial_valide_3, a0_.date_fin AS date_fin_4, a0_.caissier_id AS caissier_id_5, a0_.caisse_id AS caisse_id_6 FROM affectation_caisse a0_ WHERE a0_.caissier_id = ? AND a0_.is_active = ? AND a0_.date_debut <= ? AND (a0_.date_fin IS NULL OR a0_.date_fin >= ?) ORDER BY a0_.date_debut DESC LIMIT 1
Parameters:
[
  20
  1
  "2026-07-31 13:02:33"
  "2026-07-31 13:02:33"
]
6 0.12 ms
SELECT t0.id AS id_1, t0.numero_profil_compte AS numero_profil_compte_2, t0.is_actif AS is_actif_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.client_id AS client_id_6, t0.type_client_id AS type_client_id_7 FROM profil_client t0 WHERE t0.id = ?
Parameters:
[
  "66"
]
7 0.12 ms
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.code_iso AS code_iso_3, t0.symbole AS symbole_4, t0.is_active AS is_active_5, t0.created_at AS created_at_6 FROM devise t0 WHERE t0.id = ?
Parameters:
[
  "4"
]
8 0.09 ms
"START TRANSACTION"
Parameters:
[]
9 7.01 ms
SELECT COUNT(o0_.id) AS sclr_0 FROM operation o0_ WHERE o0_.created_at >= ? AND o0_.created_at < ?
Parameters:
[
  "2026-07-31 00:00:00"
  "2026-07-31 23:59:59"
]
10 0.27 ms
SELECT t0.id AS id_1, t0.numero_bancaire AS numero_bancaire_2, t0.solde AS solde_3, t0.seuil_alerte AS seuil_alerte_4, t0.banque_id AS banque_id_5, t0.devise_id AS devise_id_6 FROM compte_bancaire t0 WHERE t0.id = ?
Parameters:
[
  "5"
]
11 0.10 ms
SAVEPOINT DOCTRINE_2
Parameters:
[]
12 1.72 ms
INSERT INTO operation (type_operation, type_operation_original, status, montant_source, montant_cible, taux, sens, created_at, updated_at, motif, date_finalisation, nom_deposant, contact_deposant, nom_beneficiaire_retrait, contact_beneficiaire_retrait, reference, commission, commission_incluse, client_id, compte_client_source_id, compte_client_cible_id, devise_source_id, devise_cible_id, agent_id, caisse_id, beneficiaire_id, profil_client_id, compte_bancaire_id, compte_bancaire_cible_id, pret_id, annulation_operation_id, service_transfert_id, pays_destination_id, devise_commission_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "DEPOT_BANCAIRE"
  null
  "FINALIZED"
  "18776000"
  "18776000"
  "1"
  "CREDIT"
  "2026-07-31 13:02:33"
  null
  "DÉPÔT VIREMENT BANCAIRE DE 18\u{202F}776\u{202F}000,00 NGN (CLIENT: CHRIST)"
  "2026-07-31 13:02:33"
  "CHRIS"
  "0197856312"
  null
  null
  "REF-20260731-0032"
  null
  0
  66
  null
  null
  4
  4
  20
  null
  null
  66
  5
  null
  null
  null
  null
  null
  null
]
13 0.51 ms
UPDATE compte_bancaire SET solde = ? WHERE id = ?
Parameters:
[
  "19051878.58"
  5
]
14 0.07 ms
RELEASE SAVEPOINT DOCTRINE_2
Parameters:
[]
15 0.22 ms
SELECT t0.id AS id_1, t0.solde_initial AS solde_initial_2, t0.solde_actuel AS solde_actuel_3, t0.created_at AS created_at_4, t0.devise_id AS devise_id_5, t0.profil_client_id AS profil_client_id_6 FROM compte_client t0 WHERE t0.profil_client_id = ? AND t0.devise_id = ? LIMIT 1
Parameters:
[
  66
  4
]
16 7.57 ms
SELECT COUNT(o0_.id) AS sclr_0 FROM operation o0_ WHERE o0_.created_at >= ? AND o0_.created_at < ? AND o0_.type_operation = ?
Parameters:
[
  "2026-07-31 00:00:00"
  "2026-07-31 23:59:59"
  "DEPOT_BANCAIRE"
]
17 0.10 ms
SAVEPOINT DOCTRINE_2
Parameters:
[]
18 0.29 ms
INSERT INTO mouvement_compte_bancaire (type_mouvement, montant, sens, date_mouvement, date_valeur, reference_bancaire, nom_deposant, contact_deposant, commentaire, compte_bancaire_id, devise_id, effectue_par_id, operation_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "DEPOT"
  "18776000"
  "CREDIT"
  "2026-07-31 13:02:33"
  "2026-07-31 00:00:00"
  ""
  "CHRIS"
  "0197856312"
  "DÉPÔT VIREMENT BANCAIRE DE 18\u{202F}776\u{202F}000,00 NGN (CLIENT: CHRIST)"
  5
  4
  20
  9007
]
19 0.22 ms
INSERT INTO mouvement_compte_client (type_mouvement, montant, sens, date_mouvement, reference, compte_client_id, devise_id, effectue_par_id, operation_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "DEPOT_BANCAIRE"
  "18776000"
  "CREDIT"
  "2026-07-31 13:02:33"
  "REF-20260731-0032"
  459
  4
  20
  9007
]
20 0.30 ms
UPDATE operation SET reference = ?, compte_client_cible_id = ? WHERE id = ?
Parameters:
[
  "DEP-20260731-0008"
  459
  9007
]
21 0.18 ms
UPDATE compte_client SET solde_actuel = ? WHERE id = ?
Parameters:
[
  "18776000"
  459
]
22 0.06 ms
RELEASE SAVEPOINT DOCTRINE_2
Parameters:
[]
23 0.12 ms
"COMMIT"
Parameters:
[]
24 0.38 ms
SELECT t0.id AS id_1, t0.type_operation AS type_operation_2, t0.type_operation_original AS type_operation_original_3, t0.status AS status_4, t0.montant_source AS montant_source_5, t0.montant_cible AS montant_cible_6, t0.taux AS taux_7, t0.sens AS sens_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.motif AS motif_11, t0.date_finalisation AS date_finalisation_12, t0.nom_deposant AS nom_deposant_13, t0.contact_deposant AS contact_deposant_14, t0.nom_beneficiaire_retrait AS nom_beneficiaire_retrait_15, t0.contact_beneficiaire_retrait AS contact_beneficiaire_retrait_16, t0.reference AS reference_17, t0.commission AS commission_18, t0.commission_incluse AS commission_incluse_19, t0.client_id AS client_id_20, t0.compte_client_source_id AS compte_client_source_id_21, t0.compte_client_cible_id AS compte_client_cible_id_22, t0.devise_source_id AS devise_source_id_23, t0.devise_cible_id AS devise_cible_id_24, t0.agent_id AS agent_id_25, t0.caisse_id AS caisse_id_26, t0.beneficiaire_id AS beneficiaire_id_27, t0.profil_client_id AS profil_client_id_28, t0.compte_bancaire_id AS compte_bancaire_id_29, t0.compte_bancaire_cible_id AS compte_bancaire_cible_id_30, t0.pret_id AS pret_id_31, t0.annulation_operation_id AS annulation_operation_id_32, t0.service_transfert_id AS service_transfert_id_33, t0.pays_destination_id AS pays_destination_id_34, t0.devise_commission_id AS devise_commission_id_35 FROM operation t0 WHERE t0.id = ?
Parameters:
[
  9007
]
25 0.11 ms
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.prenoms AS prenoms_3, t0.contact AS contact_4, t0.email AS email_5, t0.registre_commerce AS registre_commerce_6, t0.profession AS profession_7, t0.created_at AS created_at_8, t0.ifu AS ifu_9, t0.code_client AS code_client_10, t0.created_by_id AS created_by_id_11, t0.agence_id AS agence_id_12, t0.user_id AS user_id_13 FROM client t0 WHERE t0.id = ?
Parameters:
[
  66
]
26 0.59 ms
SELECT t0.id AS id_1, t0.type_mouvement AS type_mouvement_2, t0.montant AS montant_3, t0.sens AS sens_4, t0.date_mouvement AS date_mouvement_5, t0.date_valeur AS date_valeur_6, t0.reference_bancaire AS reference_bancaire_7, t0.nom_deposant AS nom_deposant_8, t0.contact_deposant AS contact_deposant_9, t0.commentaire AS commentaire_10, t0.compte_bancaire_id AS compte_bancaire_id_11, t0.devise_id AS devise_id_12, t0.effectue_par_id AS effectue_par_id_13, t0.operation_id AS operation_id_14 FROM mouvement_compte_bancaire t0 WHERE t0.operation_id = ?
Parameters:
[
  9007
]
27 0.17 ms
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.ville AS ville_3, t0.adresse AS adresse_4, t0.telephone AS telephone_5, t0.telephone2 AS telephone2_6, t0.created_at AS created_at_7, t0.require_loan_validation AS require_loan_validation_8, t0.entreprise_id AS entreprise_id_9, t0.pays_id AS pays_id_10, t0.devise_source_id AS devise_source_id_11, t0.responsable_id AS responsable_id_12 FROM agence t0 WHERE t0.id = ?
Parameters:
[
  1
]
28 0.14 ms
SELECT t0.id AS id_1, t0.libelle AS libelle_2 FROM type_client t0 WHERE t0.id = ?
Parameters:
[
  1
]
29 0.10 ms
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.pays_id AS pays_id_3, t0.devise_id AS devise_id_4 FROM banque t0 WHERE t0.id = ?
Parameters:
[
  6
]
30 0.24 ms
"START TRANSACTION"
Parameters:
[]
31 0.34 ms
INSERT INTO idempotency_key (key_hash, status_code, response_body, created_at) VALUES (?, ?, ?, ?)
Parameters:
[
  "3ffcbcfbca9f89f1bdd7b34ebe5ed8c208a2bde20cfbf80069a199f3e644e263"
  201
  "{"success":true,"operation":{"id":9007,"client":{"id":66,"nom":"CHRIST","prenoms":"CIV","nomComplet":"CHRIST CIV","contact":"+2348101333244","email":null,"registreCommerce":null,"profession":null,"createdAt":null,"createdBy":null,"codeClient":null,"profilClients":[]},"typeOperation":"DEPOT_BANCAIRE","typeOperationOriginal":null,"status":"FINALIZED","statutLabel":"Finalis\u00e9","isAnnulee":false,"isFinalise":true,"montantSource":"18776000.000","montantCible":"18776000.000","taux":"1","deviseSource":{"id":4,"nom":"Naira Nig\u00e9rian","codeIso":"NGN","symbole":"\u20a6","isActive":null},"deviseCible":{"id":4,"nom":"Naira Nig\u00e9rian","codeIso":"NGN","symbole":"\u20a6","isActive":null},"commission":null,"deviseCommission":null,"commissionIncluse":false,"agent":{"id":20,"nom":"ZANKLAN","prenoms":"Antoinette","nomComplet":"Antoinette ZANKLAN"},"caisse":null,"createdAt":"2026-07-31 13:02:33","updatedAt":null,"dateFinalisation":"2026-07-31 13:02:33","sens":"CREDIT","reference":"DEP-20260731-0008","motif":"D\u00c9P\u00d4T VIREMENT BANCAIRE DE 18\u202f776\u202f000,00 NGN (CLIENT: CHRIST)","beneficiaire":null,"nomDeposant":"CHRIS","contactDeposant":"0197856312","nomBeneficiaireRetrait":null,"contactBeneficiaireRetrait":null,"serviceTransfert":null,"paysDestination":null,"referenceBancaire":"","dateValeur":"2026-07-31 00:00:00","annulationOperation":null},"message":"Versement enregistr\u00e9 avec succ\u00e8s !","pdfUrl":"\/api\/operations\/pdf\/recu_depot_CHRIST_9007.pdf"}"
  "2026-07-31 13:02:34"
]
32 0.09 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\User 3
App\Entity\Devise 2
App\Entity\Pays 2
App\Entity\Agence 1
App\Entity\AffectationCaisse 1
App\Entity\Caisse 1
App\Entity\ProfilClient 1
App\Entity\Client 1
App\Entity\TypeClient 1
App\Entity\CompteBancaire 1
App\Entity\Banque 1
App\Entity\Operation 1
App\Entity\CompteClient 1
App\Entity\MouvementCompteBancaire 1
App\Entity\MouvementCompteClient 1
App\Entity\Entreprise 1
App\Entity\IdempotencyKey 1

Entities Mapping

Class Mapping errors
Gesdinet\JWTRefreshTokenBundle\Entity\RefreshToken No errors.
App\Entity\RefreshToken No errors.
App\Entity\User No errors.
App\Entity\Agence No errors.
App\Entity\ServiceTransfert No errors.
App\Entity\Client No errors.
App\Entity\AffectationAgence No errors.
App\Entity\ApproAgence
  • The mappings App\Entity\ApproAgence#validePar and App\Entity\User#approAgences are inconsistent with each other.
App\Entity\ApproCaisse No errors.
App\Entity\ApproCompteGeneral No errors.
App\Entity\MouvementCaisse No errors.
App\Entity\MouvementCompteBancaire No errors.
App\Entity\MouvementCompteClient No errors.
App\Entity\Operation
  • The mappings App\Entity\Operation#deviseCible and App\Entity\Devise#operations are inconsistent with each other.
  • The field App\Entity\Operation#mouvementCaisses is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\MouvementCaisse#operation does not contain the required 'inversedBy="mouvementCaisses"' attribute.
  • The field App\Entity\Operation#mouvementBancaires is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\MouvementCompteBancaire#operation does not contain the required 'inversedBy="mouvementBancaires"' attribute.
  • The field App\Entity\Operation#mouvementCompteClients is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\MouvementCompteClient#operation does not contain the required 'inversedBy="mouvementCompteClients"' attribute.
App\Entity\AffectationCaisse No errors.
App\Entity\Pret
  • The association App\Entity\Pret#agence refers to the inverse side field App\Entity\Agence#prets which does not exist.
  • The association App\Entity\Pret#caisse refers to the inverse side field App\Entity\Caisse#prets which does not exist.
App\Entity\Remboursement No errors.
App\Entity\Caisse No errors.
App\Entity\UserSession No errors.
App\Entity\IdempotencyKey No errors.
App\Entity\ProfilClient No errors.
App\Entity\TypeClient No errors.
App\Entity\CompteClient No errors.
App\Entity\Beneficiaire No errors.
App\Entity\Devise
  • The field App\Entity\Devise#lignes is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\LigneDepense#devise does not contain the required 'inversedBy="lignes"' attribute.
App\Entity\CompteCaisse No errors.
App\Entity\CompteAgence
  • The field App\Entity\CompteAgence#lignesDepenses is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\LigneDepense#compteAgence does not contain the required 'inversedBy="lignesDepenses"' attribute.
App\Entity\CompteGeneral No errors.
App\Entity\Banque No errors.
App\Entity\ApproCompteBancaire No errors.
App\Entity\TauxChange
  • The mappings App\Entity\TauxChange#deviseCible and App\Entity\Devise#tauxChanges are inconsistent with each other.
App\Entity\LigneDepense No errors.
App\Entity\CompteBancaire No errors.
App\Entity\ApproCompteAgenceBancaire
  • The association App\Entity\ApproCompteAgenceBancaire#devise refers to the inverse side field App\Entity\Devise#approCompteAgenceBancaires which does not exist.
  • The association App\Entity\ApproCompteAgenceBancaire#effectuePar refers to the inverse side field App\Entity\User#approCompteAgenceBancaires which does not exist.
App\Entity\AnnulationOperation No errors.
App\Entity\Pays No errors.
App\Entity\ClientDocument No errors.
App\Entity\Entreprise No errors.
App\Entity\Depense No errors.