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