Jump to content

Prestashop facture pdf ajouter ligne TOTAL HT


Recommended Posts

Bonjour, sous prestashop 1.6.0.14 sur la facture PDF

Comment rajouter  la ligne TOTAL HT sur la  Facture ?

il me faudrait un fichier invoice.tpl avec une ligne supplémentaire ''Total HT'' entre TVA et Total, qui inclus le total produit HT + port HT + bon reduction HT.

 

Cordialement,

Dom

Ajouter total HT.pdf

Link to comment
Share on other sites

Essayez d'ajouter ce bout

Try to add this snippet

<tr style="line-height:5px;">
    <td style="text-align: right; font-weight: bold">{l s='Total HT' pdf='true'}</td>
    <td style="width: 17%; text-align: right;">{displayPrice currency=$order->id_currency price=($order_invoice->total_paid_tax_excl)}</td>
</tr>

avant

<tr style="line-height:5px;">
    <td style="text-align: right; font-weight: bold">{l s='Total' pdf='true'}</td>
    <td style="width: 17%; text-align: right;">{displayPrice currency=$order->id_currency price=$order_invoice->total_paid_tax_incl}</td>
</tr>

dans /pdf/invoice.tpl

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...