Artifact e2ecaf3c11aa31ca6c750715baf3c72882faab1d:
- File src/www/admin/compta/categories/index.php — part of check-in [f571ba3640] at 2017-10-11 04:53:31 on branch dev — Gestion de projets (compta analytique) (user: bohwaz, size: 495) [annotate] [blame] [check-ins using] [more...]
<?php namespace Garradin; require_once __DIR__ . '/../_inc.php'; $session->requireAccess('compta', Membres::DROIT_ADMIN); $cats = new Compta\Categories; if (null !== qg('depenses')) $type = Compta\Categories::DEPENSES; else $type = Compta\Categories::RECETTES; $tpl->assign('current_nav', $type == Compta\Categories::DEPENSES ? 'depenses' : 'recettes'); $tpl->assign('type', $type); $tpl->assign('liste', $cats->getList($type)); $tpl->display('admin/compta/categories/index.tpl');