From 4d042d1e36a16f86a7084d1f7ab9ca5ddf0c84dd Mon Sep 17 00:00:00 2001 From: engel <> Date: Sat, 21 May 2022 12:52:33 +0000 Subject: [PATCH] =?UTF-8?q?ajout=20num=C3=A9ro=20op=C3=A9ration=20(ligne?= =?UTF-8?q?=20versement)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FossilOrigin-Name: fb35c29ef4b2ebf812e046640e25ef751036aff2a73c39f34fbebcbcf625e9bd --- lib/Utils.php | 12 +++++++++--- www/admin/action.php | 5 ++++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/lib/Utils.php b/lib/Utils.php index 63f8de4..aba88b6 100644 --- a/lib/Utils.php +++ b/lib/Utils.php @@ -158,7 +158,9 @@ class Utils acc_accounts.id as idCompte, acc_accounts.code as codeCompte, acc_transactions_lines.credit as versement, - acc_transactions.date + acc_transactions.date, + acc_transactions_lines.id as id_trans_line, + acc_transactions.id as id_transaction FROM acc_transactions_users INNER JOIN membres ON acc_transactions_users.id_user = membres.id @@ -204,7 +206,9 @@ class Utils acc_accounts.code as codeCompte, membres.id as idUser, acc_transactions_lines.credit as versement, - acc_transactions.date + acc_transactions.date, + acc_transactions_lines.id as id_trans_line, + acc_transactions.id as id_transaction FROM acc_transactions_users INNER JOIN membres ON acc_transactions_users.id_user = membres.id @@ -256,7 +260,9 @@ class Utils acc_accounts.code as codeCompte, membres.id as idUser, acc_transactions_lines.credit as versement, - acc_transactions.date + acc_transactions.date, + acc_transactions_lines.id as id_trans_line, + acc_transactions.id as id_transaction FROM acc_transactions_users INNER JOIN membres ON acc_transactions_users.id_user = membres.id diff --git a/www/admin/action.php b/www/admin/action.php index 67602ac..93c9fe4 100644 --- a/www/admin/action.php +++ b/www/admin/action.php @@ -165,6 +165,7 @@ $tpl->register_function('afficher_versement', function ($params) onclick="cocherDecocherVersement(check_%1$s_%2$s, total_%1$s)" /> ', $idVersement, @@ -175,7 +176,9 @@ $tpl->register_function('afficher_versement', function ($params) ",", " " ), - date_format(date_create($versement->date),"d/m/Y") + date_format(date_create($versement->date),"d/m/Y"), + ADMIN_URL, + $versement->id_transaction ); return $out; });