Overview
Comment:Fix typo export CSV
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA1: d9aa0e572561f24e240ae9a4ad56aeb5619dd084
User & Date: bohwaz on 2018-07-14 20:59:43
Other Links: manifest | tags
Context
2018-07-20
22:16
Erreur plus explicite quand on essaye de modifier une √©criture qui n'existe pas check-in: 116557af44 user: bohwaz tags: trunk, stable
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-11
23:06
Le compte n'est plus utilis√© check-in: a21141aaae user: bohwaz tags: trunk, stable, 0.8.5
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;