Overview
Comment:Fix export of simple list
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA3-256: f42fe0087fc3e402ab5a6e5d35255c852f4c712ff26659e5fdf30530c9112afd
User & Date: bohwaz on 2021-03-08 15:30:34
Other Links: manifest | tags
Context
2021-03-08
15:32
Make sure that year is set check-in: 2217843c43 user: bohwaz tags: trunk, stable
15:30
Fix export of simple list check-in: f42fe0087f user: bohwaz tags: trunk, stable
2021-03-05
19:50
Fix: set status as paid when creating payoff transaction check-in: 1ed3d3d18c user: bohwaz tags: trunk, stable
Changes

Modified src/include/lib/Garradin/Accounting/Transactions.php from [5147112b9a] to [e021e3b8ba].

409
410
411
412
413
414
415

416
417
418
419
420
			}
			else {
				$row->analytical = [];
			}
		});
		$list->setExportCallback(function (&$row) {
			$row->change = Utils::money_format($row->change, '.', '', false);

		});

		return $list;
	}
}







>





409
410
411
412
413
414
415
416
417
418
419
420
421
			}
			else {
				$row->analytical = [];
			}
		});
		$list->setExportCallback(function (&$row) {
			$row->change = Utils::money_format($row->change, '.', '', false);
			$row->analytical = implode(', ', $row->analytical);
		});

		return $list;
	}
}