Config TTC/HT
This commit is contained in:
parent
5de9d9fa97
commit
af7b3a9eaf
5 changed files with 11 additions and 85 deletions
|
|
@ -94,6 +94,7 @@ if ($f->type_facture != CERFA)
|
|||
$echeance = ($f->type_facture?'Échéance de paiement':'Échéance du devis')." : ".$echeance;
|
||||
$reglee = !$f->reglee?'Cette facture est en attente de règlement.':'Cette facture a été reglée.';
|
||||
$footer = str_replace("\n", '<br>', $plugin->getConfig('footer'));
|
||||
$ttc = $plugin->getConfig('ttc') ? 'TTC':'HT';
|
||||
|
||||
// Génération du contenu de la facture
|
||||
ob_start();
|
||||
|
|
@ -133,7 +134,7 @@ EOF;
|
|||
<tfoot>
|
||||
<tr>
|
||||
<td><h3>Total</h3>Net à payer</td>
|
||||
<td><b>$total €</b><br>(HT)</td>
|
||||
<td><b>$total €</b><br>(${ttc})</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue