Overview
Comment:Faire apparaître l'intitulé de la cotisation dans le libellé de l'écriture
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA1: 2c780e324e7000c2bcd6fc6498d59c74abac9a09
User & Date: bohwaz on 2019-06-05 10:09:05
Other Links: manifest | tags
Context
2019-08-23
14:59
Méthode inutilisée check-in: 66f10eafff user: bohwaz tags: trunk, stable
2019-06-05
10:09
Faire apparaître l'intitulé de la cotisation dans le libellé de l'écriture check-in: 2c780e324e user: bohwaz tags: trunk, stable
2019-05-26
13:46
Rétablir sous-menu caisse / chèque à encaisser etc. dans la liste de compte, signalé par @zou check-in: 3e77f40dd7 user: bohwaz tags: trunk, stable
Changes

Modified src/include/lib/Garradin/Membres/Cotisations.php from [29206fdf20] to [cf23856e38].

86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
		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);
			}







|







86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
		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'      => sprintf('%s - %s', $co->intitule, $membre),
					'date'         => $data['date'],
					'id_auteur'    => $data['id_auteur'],
					'id_membre'    => $data['id_membre'],
				]);

				$id_operation = $this->addOperationCompta($id, $data_compta);
			}