Artifact 0473be53b7f64e19fcc2ada2581c4a11e947bee1:
- File src/www/admin/acc/transactions/service_user.php — part of check-in [54b9d03a1c] at 2020-11-08 02:11:08 on branch dev — Implement list of transactions linked to a service (user: bohwaz, size: 464) [annotate] [blame] [check-ins using] [more...]
<?php namespace Garradin; use Garradin\Accounting\Reports; use Garradin\Accounting\Years; require_once __DIR__ . '/../../_inc.php'; $session->requireAccess('compta', Membres::DROIT_ACCES); $criterias = ['service_user' => (int)qg('id')]; $tpl->assign('balance', Reports::getClosingSumsWithAccounts($criterias)); $tpl->assign('journal', Reports::getJournal($criterias)); $tpl->assign('user_id', qg('user')); $tpl->display('acc/transactions/service_user.tpl');