Overview
SHA1:54aa1c950e0ff7e52273e762d3a6feb18504e679
Date: 2018-07-14 20:23:03
User: bohwaz
Comment:Fix typo export CSV
Timelines: family | ancestors | descendants | both | dev
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2018-07-20
22:15
[1f94d65a20] Erreur plus explicite quand on essaye de modifier une écriture qui n'existe pas (user: bohwaz, tags: dev)
2018-07-14
20:23
[54aa1c950e] Fix typo export CSV (user: bohwaz, tags: dev)
2018-07-12
00:34
[8bcda86b40] Suppression des fichiers liés au membre lors de sa suppression (user: bohwaz, tags: dev)
Changes

Modified src/include/lib/Garradin/Compta/Import.php from [256fecd4fb] to [3ab8827a71].

104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
		}

		$db = DB::getInstance();
		$db->begin();
		$cats = new Categories;
		$journal = new Journal;

		$columns = array_flip($this->csv_header);
		$liste_cats = $db->getAssoc('SELECT intitule, id FROM compta_categories;');
		$liste_moyens = $cats->listMoyensPaiement();

		$col = function($column) use (&$row, &$columns)
		{
			if (!isset($columns[$column]))
				return null;







|







104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
		}

		$db = DB::getInstance();
		$db->begin();
		$cats = new Categories;
		$journal = new Journal;

		$columns = array_flip($this->header);
		$liste_cats = $db->getAssoc('SELECT intitule, id FROM compta_categories;');
		$liste_moyens = $cats->listMoyensPaiement();

		$col = function($column) use (&$row, &$columns)
		{
			if (!isset($columns[$column]))
				return null;