Overview
Comment: | Désactiver la possibilité de modifier les écritures de report à nouveau |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA1: |
0c1b75c44c6c3603f5d538b7734b592a |
User & Date: | bohwaz on 2018-02-09 01:20:03 |
Other Links: | manifest | tags |
References
2020-12-08
| ||
23:25 | • Wiki page "Changelog/0.9" artifact: b9c916b4d1 user: bohwaz | |
Context
2018-02-09
| ||
01:33 | Affichage numéro membre et non ID (signalé par @Fabrice) check-in: da6a237093 user: bohwaz tags: trunk, stable | |
01:20 | Désactiver la possibilité de modifier les écritures de report à nouveau check-in: 0c1b75c44c user: bohwaz tags: trunk, stable | |
01:13 | Correction typo check-in: 6ccbb8a8e2 user: bohwaz tags: trunk | |
Changes
Modified src/templates/admin/compta/operations/voir.tpl from [02afdb29f1] to [1a3a9051ba].
1 2 | 1 2 3 4 5 6 7 8 9 10 | - + | {include file="admin/_head.tpl" title="Opération n°%d"|args:$operation.id current="compta/gestion"} |
︙ |
Modified src/www/admin/compta/operations/modifier.php from [6e0e877ba5] to [dcffa78b60].
︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | + + + + + | $operation = $journal->get(qg('id')); if (!$operation) { throw new UserException("L'opération demandée n'existe pas."); } if ($operation->compte_credit === null) { throw new UserException('Impossible de modifier une écriture de report.'); } if ($operation->id_categorie) { $categorie = $cats->get($operation->id_categorie); } else { |
︙ |