Artifact 2fec0ea51fe95379072d614f42df0cb03f94188d:
- File src/www/admin/acc/plans/accounts/index.php — part of check-in [2421f0583b] at 2020-04-23 01:12:24 on branch dev — Page de gestion des plans comptables et vue du plan comptable (user: bohwaz, size: 403) [annotate] [blame] [check-ins using]
<?php namespace Garradin; use Garradin\Accounting\Plans; use Garradin\Accounting\Accounts; require_once __DIR__ . '/../../_inc.php'; $session->requireAccess('compta', Membres::DROIT_ADMIN); $plan = (new Plans)->get(qg('id')); $accounts = new Accounts; $tpl->assign('plan', $plan); $tpl->assign('accounts', $accounts->listForPlan($plan->id())); $tpl->display('admin/acc/plans/accounts/index.tpl');