Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
trash
/
vhost_www.traiteur-75.fr_1689065491
/
htdocs
/
templates
/
front
/
pdf
/
/srv/data/trash/vhost_www.traiteur-75.fr_1689065491/htdocs/templates/front/pdf/billing.html.twig
<style type="text/css"> table { width: 90%; color: #717375; font-family: helvetica; line-height: 5mm; border-collapse: collapse; } h2 { margin: 0; padding: 0; } p { margin: 5px; } .border th { border: 1px solid #DE25A4; color: white; background: #DE25A4; padding: 5px; font-weight: normal; font-size: 14px; text-align: center; } .border td { border: 1px solid #CFD1D2; padding: 5px 10px; } td.info strong { line-height: 30px; } .price { padding: 7px; text-align: right; background: #eee; } .price h4 { font-size: 20px; } .no-border { border: none; } .space { padding-top: 250px; } .p-10 { width: 10%; } .p-15 { width: 15%; } .p-25 { width: 25%; } .p-50 { width: 50%; } .p-60 { width: 60%; } .p-75 { width: 75%; } .p-100 { width: 100%; } </style> <page backtop="10mm" backleft="10mm" backright="10mm" backbottom="10mm" footer="page;"> <page_footer> <hr/> <small> Facture générée automatiquement sur le site {{ data.url_website }} </small> </page_footer> {# <img src="{{ asset('build/images/logo_pack_cbd.png') }}" style="width:90px;height:90px"><br> #} <table style="vertical-align: top;"> <tr> <td class="p-75"> <strong>{{data.conf_company_business}}</strong><br/> <strong>{{data.conf_company_address}}</strong><br/> <strong>{{data.conf_company_zipcode}} {{data.conf_company_city}}</strong><br/> <strong>SIRET:</strong> {{data.conf_company_siret}}<br/> <strong>EMAIL:</strong> {{data.conf_company_email}}<br/> <strong>TEL:</strong> {{data.conf_company_phone}} </td> <td class="p-25"> <strong>{{data.firstname}} {{data.lastname}}</strong><br/> {% if data.type.name == "Livraison à domicile" %} <strong>{{data.address.address}}</strong><br> {% if data.address.additional %} <strong>{{data.address.additional}}</strong> <br> {% endif %} <strong>{{data.address.zipcode}} {{data.address.city}}, {{data.address.country}}</strong><br> {% endif %} {{data.email}}<br> {{data.phone}} </td> </tr> </table> {# <img src="https://www.acheter-cbd.fr/img/logo.png" style="width:30px;height:30px"/><br> #} <table style="margin-top: 50px;"> <tr> <td class="p-50">Facture {{data.productKey}}</td> <td class="p-50" style="text-align: right;">Le {{ "now"|date("d/m/Y") }}</td> </tr> </table> <table style="margin-top: 30px;" class="border table"> <thead> <tr> <th>Produit</th> <th>Quantité</th> <th>Taux TVA</th> <th>Prix TTC</th> </tr> </thead> <tbody> {% for product in CartService.getCart() %} <tr> <td>{{product.object.name}}</td> <td>{{product.qtt}}</td> <td>{{product.object.vat}}%</td> {% set price = product.object.price * product.qtt %} <td>{{price|number_format(2, ',', '')}} €</td> </tr> {% else %} <tr> <td colspan="3">Aucun enregistrement</td> </tr> {% endfor %} <tr> <td colspan="4" class="no-border"> <br> <div class="price"> <p> <small>TVA : {{CartService.getVat()}}€</small> </p> <h4> Total TTC : {{CartService.getTotal()|number_format(2, ',', '')}}€ </h4> </div> </td> </tr> </tbody> </table> </page>