Overview
Comment: | Mention du nom du membre dans le libellé (corrige [e0e31b676809fa82cfc38535a602fc63d41a7e70]) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA1: |
d0463fc9a5bdbd3325bbc7765738bfe1 |
User & Date: | bohwaz on 2017-10-11 05:09:42 |
Other Links: | branch diff | manifest | tags |
Context
2017-10-11
| ||
05:21 | Ajout case à cocher "à encaisser" pour chèques et CB pour enregistrement de cotisation aussi check-in: 965655fde1 user: bohwaz tags: dev | |
05:09 | Mention du nom du membre dans le libellé (corrige [e0e31b676809fa82cfc38535a602fc63d41a7e70]) check-in: d0463fc9a5 user: bohwaz tags: dev | |
04:53 | Gestion de projets (compta analytique) check-in: f571ba3640 user: bohwaz tags: dev | |
Changes
Modified src/include/lib/Garradin/Membres/Cotisations.php from [96cbb779cb] to [3bd6b92cd5].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | <?php namespace Garradin\Membres; use Garradin\Config; use Garradin\DB; use Garradin\Utils; use Garradin\UserException; use Garradin\Plugin; class Cotisations { const ITEMS_PER_PAGE = 100; /** * Vérification des champs fournis pour la modification de donnée | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | <?php namespace Garradin\Membres; use Garradin\Config; use Garradin\DB; use Garradin\Utils; use Garradin\UserException; use Garradin\Plugin; use Garradin\Membres; class Cotisations { const ITEMS_PER_PAGE = 100; /** * Vérification des champs fournis pour la modification de donnée |
︙ | ︙ | |||
73 74 75 76 77 78 79 80 81 82 | 'id_membre' => $data['id_membre'], ]); $id = $db->lastInsertRowId(); if ($co->id_categorie_compta) { try { $data_compta = array_merge($data_compta, [ 'id_categorie' => $co->id_categorie_compta, | > > | | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | 'id_membre' => $data['id_membre'], ]); $id = $db->lastInsertRowId(); if ($co->id_categorie_compta) { $membre = (new Membres)->getNom($data['id_membre']); try { $data_compta = array_merge($data_compta, [ 'id_categorie' => $co->id_categorie_compta, 'libelle' => 'Cotisation - ' . $membre, 'date' => $data['date'], 'id_auteur' => $data['id_auteur'], 'id_membre' => $data['id_membre'], ]); $id_operation = $this->addOperationCompta($id, $data_compta); } |
︙ | ︙ |