Overview
Comment:Fix typo export CSV
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: 54aa1c950e0ff7e52273e762d3a6feb18504e679
User & Date: bohwaz on 2018-07-14 20:23:03
Other Links: manifest | tags
Context
2018-07-20
22:15
Erreur plus explicite quand on essaye de modifier une écriture qui n'existe pas check-in: 1f94d65a20 user: bohwaz tags: dev
2018-07-14
20:59
Fix typo export CSV check-in: d9aa0e5725 user: bohwaz tags: trunk, stable
20:23
Fix typo export CSV check-in: 54aa1c950e user: bohwaz tags: dev
2018-07-12
00:34
Suppression des fichiers liés au membre lors de sa suppression check-in: 8bcda86b40 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;