ajout numéro opération (ligne versement)

FossilOrigin-Name: fb35c29ef4b2ebf812e046640e25ef751036aff2a73c39f34fbebcbcf625e9bd
This commit is contained in:
engel 2022-05-21 12:52:33 +00:00
parent c9568f3eaf
commit 4d042d1e36
2 changed files with 13 additions and 4 deletions

View File

@ -158,7 +158,9 @@ class Utils
acc_accounts.id as idCompte, acc_accounts.id as idCompte,
acc_accounts.code as codeCompte, acc_accounts.code as codeCompte,
acc_transactions_lines.credit as versement, 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 FROM acc_transactions_users
INNER JOIN membres INNER JOIN membres
ON acc_transactions_users.id_user = membres.id ON acc_transactions_users.id_user = membres.id
@ -204,7 +206,9 @@ class Utils
acc_accounts.code as codeCompte, acc_accounts.code as codeCompte,
membres.id as idUser, membres.id as idUser,
acc_transactions_lines.credit as versement, 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 FROM acc_transactions_users
INNER JOIN membres INNER JOIN membres
ON acc_transactions_users.id_user = membres.id ON acc_transactions_users.id_user = membres.id
@ -256,7 +260,9 @@ class Utils
acc_accounts.code as codeCompte, acc_accounts.code as codeCompte,
membres.id as idUser, membres.id as idUser,
acc_transactions_lines.credit as versement, 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 FROM acc_transactions_users
INNER JOIN membres INNER JOIN membres
ON acc_transactions_users.id_user = membres.id ON acc_transactions_users.id_user = membres.id

View File

@ -165,6 +165,7 @@ $tpl->register_function('afficher_versement', function ($params)
onclick="cocherDecocherVersement(check_%1$s_%2$s, total_%1$s)" /> onclick="cocherDecocherVersement(check_%1$s_%2$s, total_%1$s)" />
<label for="check_%1$s_%2$s"><span class="montant">%3$s</span> <label for="check_%1$s_%2$s"><span class="montant">%3$s</span>
<span>%4$s</span> <span>%4$s</span>
<span class="num"><a href="%5$sacc/transactions/details.php?id=%6$s">#%6$s</a></span>
</label> </label>
</div>', </div>',
$idVersement, $idVersement,
@ -175,7 +176,9 @@ $tpl->register_function('afficher_versement', function ($params)
",", ",",
"&nbsp;" "&nbsp;"
), ),
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; return $out;
}); });