Fix indent ++
This commit is contained in:
parent
d45f81a515
commit
541c5820bc
16 changed files with 415 additions and 417 deletions
|
|
@ -26,20 +26,20 @@ $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]';
|
||||
}
|
||||
}
|
||||
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);
|
||||
$c = $client->get($f->receveur_id);
|
||||
}
|
||||
|
||||
$tpl->assign('facture', $f);
|
||||
|
|
@ -47,11 +47,11 @@ try
|
|||
}
|
||||
catch(UserException $e)
|
||||
{
|
||||
$form->addError("Pas de document correspondant à cet id trouvée.");
|
||||
$form->addError("Pas de document correspondant à cet id trouvée.");
|
||||
}
|
||||
|
||||
$tpl->assign('id', $id);
|
||||
$tpl->assign('footer', $cfg->get('footer')?:'');
|
||||
$tpl->assign('siret_asso', $cfg->get('siret_asso')?:'');
|
||||
|
||||
$tpl->display(PLUGIN_ROOT . '/templates/facture.tpl');
|
||||
$tpl->display(PLUGIN_ROOT . '/templates/facture.tpl');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue