Overview
Comment: | Display list of users linked to a transaction |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA1: |
a0fe66f7668506855da64ee1a7827bf5 |
User & Date: | bohwaz on 2020-10-01 11:21:38 |
Other Links: | branch diff | manifest | tags |
Context
2020-10-01
| ||
14:04 | Refactor transaction form, add transaction editing check-in: f2c1ee8e78 user: bohwaz tags: dev | |
11:21 | Display list of users linked to a transaction check-in: a0fe66f766 user: bohwaz tags: dev | |
11:12 | Fix consistency and issues with multiples in input lists check-in: 48a25a7218 user: bohwaz tags: dev | |
Changes
Modified src/include/lib/Garradin/Entities/Accounting/Transaction.php from [0734f7a1b0] to [1161b019a8].
︙ | |||
260 261 262 263 264 265 266 | 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 | - + + + + + + + + + | return $db->insert('acc_transactions_users', [ 'id_transaction' => $this->id(), 'id_user' => $user_id, 'id_service' => $service_id, ]); } |
Modified src/templates/acc/transactions/details.tpl from [4d6df636eb] to [d1e9164567].
︙ | |||
11 12 13 14 15 16 17 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | - + | <dl class="describe"> <dt>Libellé</dt> <dd><h2>{$transaction.label}</h2></dd> <dt>Date</dt> <dd>{$transaction.date|date_fr:'l j F Y (d/m/Y)'}</dd> <dt>Numéro pièce comptable</dt> |
︙ | |||
41 42 43 44 45 46 47 | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | - - - - - - - - + + + + + + + - - + + + | {/if} {else} <em>membre supprimé</em> {/if} </dd> <dt>Opération liée à</dt> |
︙ |
Modified src/templates/acc/transactions/new.tpl from [a2f0b252f3] to [26d128618b].
︙ | |||
112 113 114 115 116 117 118 | 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | - + | </tfoot> </table> </fieldset> <fieldset> <legend>Détails</legend> <dl> |
︙ |
Modified src/www/admin/acc/transactions/details.php from [201118bacb] to [30440cd5ef].
︙ | |||
11 12 13 14 15 16 17 18 19 | 11 12 13 14 15 16 17 18 19 20 21 | + + | throw new UserException('Cette écriture n\'existe pas'); } $tpl->assign('files', $transaction->listFiles()); $tpl->assign('transaction', $transaction); $tpl->assign('tr_year', $transaction->year()); $tpl->assign('creator_name', $transaction->id_creator ? (new Membres)->getNom($transaction->id_creator) : null); $tpl->assign('related_users', $transaction->listLinkedUsers()); $tpl->display('acc/transactions/details.tpl'); |