Intégration du logo 2022 dans la facture, le BL et les emails

This commit is contained in:
2021-11-24 21:33:11 +01:00
parent 5f435f5c1a
commit a52cbc6aaa
12 changed files with 31 additions and 16 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -167,6 +167,8 @@
{hook name="delivery.footer-bottom" order=$order_id}
</page_footer>
<img src="{image file='assets/img/logo.png'}" style="height:110px;margin:30px">
{loop name="order.invoice" type="order" id=$order_id customer="*"}
<table class="table-info">

View File

@@ -19,7 +19,7 @@
}
h1 {
font-size: 48px;
font-size: 30px;
}
h2 {
@@ -132,7 +132,7 @@
</style>
{/literal}
<page backtop="10mm" backleft="10mm" backright="10mm" backbottom="10mm">
<page backtop="5mm" backleft="10mm" backright="10mm" backbottom="5mm">
<page_header>
{hook name="invoice.header" order=$order_id}
</page_header>
@@ -140,8 +140,8 @@
<page_footer>
{hook name="invoice.footer-top" order=$order_id}
<table>
<col style="width: 80%; padding: 1mm; border: none; text-align: left;" />
<col style="width: 20%; padding: 1mm; border: none; text-align: right;" />
<col style="width: 80%; padding: 3mm; border: none; text-align: left;" />
<col style="width: 20%; padding: 3mm; border: none; text-align: right;" />
<tbody>
<tr>
<td>
@@ -175,25 +175,31 @@
{hook name="invoice.footer-bottom" order=$order_id}
</page_footer>
<img src="{image file="assets/img/logo.png"}" style="height:60px;margin:30px">
{$taxes = []}
{loop name="order.invoice" type="order" id=$order_id customer="*"}
<table class="table-info">
<col style="width: 100%; padding: 0mm;" />
<tr>
<td>
<h1>{intl l="INVOICE"}</h1>
<td rowspan="3">
<img src="{image file='assets/img/logo.png'}" style="height:110px; margin-right: 60px">
</td>
<td style="vertical-align: top">
<h3>{intl l="INVOICE"} : <span>{if $INVOICE_REF == null}{$REF}{else}{$INVOICE_REF}{/if}</span></h3>
</td>
</tr>
<tr>
<td><h3>{intl l="Invoice date"} : <span>{format_date date=$INVOICE_DATE output="date"}</span></h3></td>
<td>
<h3>{intl l="Invoice date"} : <span>{format_date date=$INVOICE_DATE output="date"}</span></h3>
</td>
</tr>
<tr>
<td><h3>{intl l="Invoice REF"} : <span>{if $INVOICE_REF == null}{$REF}{else}{$INVOICE_REF}{/if}</span></h3></td>
</tr>
<tr>
<td><h3>{intl l="Customer Number"} : <span>{loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}{$REF}{/loop}</span></h3></td>
<td>
<h3>{intl l="Customer Number"} : <span>{loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}{$REF}{/loop}</span></h3>
</td>
</tr>
</table>
<table class="table-info" style="margin-top: 30px">
<col style="width: 100%; padding: 0mm;" />
{hookblock name="invoice.information" order=$order_id fields="title,value"}
{forhook rel="invoice.information"}
<tr>