Overview
Comment:Oops
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA1: f815e596f657947ea9dd1cdd53d72650f5c3043d
User & Date: bohwaz on 2020-12-11 21:14:28
Other Links: manifest | tags
Context
2020-12-11
21:32
Don't allow members who don't have admin access to see SQL queries, just the result check-in: ddfe330546 user: bohwaz tags: trunk, stable
21:14
Oops check-in: f815e596f6 user: bohwaz tags: trunk, stable
21:13
Fix error in journal with account from other year check-in: 1722a6d041 user: bohwaz tags: trunk, stable
Changes

Modified src/include/lib/Garradin/Accounting/Reports.php from [5e366c29c1] to [0a5171425b].

423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
					'id'        => $row->id,
					'label'     => $row->label,
					'date'      => \DateTime::createFromFormat('Y-m-d', $row->date),
					'reference' => $row->reference,
					'lines'     => [],
				];
			}
strpos();
			$transaction->lines[] = (object) [
				'account_label' => $row->account_label,
				'account_code'  => $row->account_code,
				'label'         => $row->line_label,
				'reference'     => $row->line_reference,
				'id_account'    => $row->id_account,
				'credit'        => $row->credit,







|







423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
					'id'        => $row->id,
					'label'     => $row->label,
					'date'      => \DateTime::createFromFormat('Y-m-d', $row->date),
					'reference' => $row->reference,
					'lines'     => [],
				];
			}

			$transaction->lines[] = (object) [
				'account_label' => $row->account_label,
				'account_code'  => $row->account_code,
				'label'         => $row->line_label,
				'reference'     => $row->line_reference,
				'id_account'    => $row->id_account,
				'credit'        => $row->credit,