Archivage plusieurs documents et interdiction modifier doc archivé

This commit is contained in:
Jean-Christophe Engel 2026-02-25 13:40:05 +01:00
parent a80bebcc4e
commit 79b3a72cca
7 changed files with 60 additions and 17 deletions

View file

@ -20,10 +20,12 @@ if (!$f)
throw new UserException("Ce document n'existe pas.");
}
$archive = $f->archivee;
$tpl->assign('type', $f->type_facture);
$tpl->assign('facture', $f);
$tpl->assign('id', $id);
$tpl->assign('footer', $plugin->getConfig('footer')?:'');
$tpl->assign('siret_asso', $plugin->getConfig('siret_asso')?:'');
$tpl->assign('archive', $archive);
$tpl->display(PLUGIN_ROOT . '/templates/facture.tpl');