Overview
Comment: | Fix references to classes |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA3-256: |
40ff9aac3bf781f48735d606fa13af3f |
User & Date: | bohwaz on 2022-09-15 13:19:08 |
Other Links: | branch diff | manifest | tags |
Context
2022-09-15
| ||
13:39 | Fix up some details for forms check-in: 8efb8ecde2 user: bohwaz tags: dev | |
13:19 | Fix references to classes check-in: 40ff9aac3b user: bohwaz tags: dev | |
2022-09-14
| ||
20:31 | Add cheques cashing form check-in: c0d05358e1 user: bohwaz tags: dev | |
Changes
Modified src/include/lib/Garradin/Accounting/Export.php from [dbfa1658d7] to [15f2039397].
1 2 3 4 5 6 7 8 9 10 | <?php namespace Garradin\Accounting; use Garradin\Entities\Accounting\Line; use Garradin\Entities\Accounting\Transaction; use Garradin\Entities\Accounting\Year; use Garradin\Config; use Garradin\CSV; use Garradin\DB; | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | <?php namespace Garradin\Accounting; use Garradin\Entities\Accounting\Line; use Garradin\Entities\Accounting\Transaction; use Garradin\Entities\Accounting\Year; use Garradin\Config; use Garradin\CSV; use Garradin\DB; use Garradin\Users\DynamicFields; use Garradin\Utils; class Export { const FULL = 'full'; const GROUPED = 'grouped'; const SIMPLE = 'simple'; |
︙ | ︙ |
Modified src/www/admin/acc/years/import.php from [351930ccfc] to [261774e1b3].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | <?php namespace Garradin; use Garradin\Accounting\Export; use Garradin\Accounting\Import; use Garradin\Accounting\Transactions; use Garradin\Accounting\Years; require_once __DIR__ . '/../_inc.php'; $session->requireAccess($session::SECTION_ACCOUNTING, $session::ACCESS_ADMIN); $year_id = (int) qg('year') ?: CURRENT_YEAR_ID; if ($year_id === CURRENT_YEAR_ID) { $year = $current_year; } else { | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | <?php namespace Garradin; use Garradin\Accounting\Export; use Garradin\Accounting\Import; use Garradin\Accounting\Transactions; use Garradin\Accounting\Years; use Garradin\Users\Session; require_once __DIR__ . '/../_inc.php'; $session = Session::getInstance(); $session->requireAccess($session::SECTION_ACCOUNTING, $session::ACCESS_ADMIN); $user = $session->getUser(); $year_id = (int) qg('year') ?: CURRENT_YEAR_ID; if ($year_id === CURRENT_YEAR_ID) { $year = $current_year; } else { |
︙ | ︙ |