Repose sur champs identité pour les membres + facture_pdf.php -> pdf.php
This commit is contained in:
parent
e5ff2e8cd7
commit
aeac847646
9 changed files with 18 additions and 44 deletions
|
|
@ -21,37 +21,7 @@ if (!$f)
|
|||
}
|
||||
|
||||
$tpl->assign('type', $f->type_facture);
|
||||
|
||||
// $cats = new Compta\Categories;
|
||||
// $tpl->assign('moyens_paiement', $cats->listMoyensPaiement());
|
||||
// $tpl->assign('moyen_paiement', $cats->getMoyenPaiement($f->moyen_paiement));
|
||||
|
||||
try
|
||||
{
|
||||
// if ($f->receveur_membre)
|
||||
// {
|
||||
// $c = $membres->get($f->receveur_id);
|
||||
// foreach(['ville','code_postal','adresse'] as $v)
|
||||
// {
|
||||
// if($c->$v == '')
|
||||
// {
|
||||
// $c->$v = '[A RENSEIGNER DANS LA FICHE MEMBRE]';
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// $c = $client->get($f->receveur_id);
|
||||
// }
|
||||
|
||||
$tpl->assign('facture', $f);
|
||||
// $tpl->assign('client', $c);
|
||||
}
|
||||
catch(UserException $e)
|
||||
{
|
||||
$form->addError("Pas de document correspondant à cet id trouvée.");
|
||||
}
|
||||
|
||||
$tpl->assign('facture', $f);
|
||||
$tpl->assign('id', $id);
|
||||
$tpl->assign('footer', $plugin->getConfig('footer')?:'');
|
||||
$tpl->assign('siret_asso', $plugin->getConfig('siret_asso')?:'');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue