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: 32 KiB

View File

@@ -473,7 +473,7 @@
{if $image == null} {if $image == null}
{$image = {image file='assets/img/logo.gif' failsafe=true}} {$image = {image file='assets/img/logo.gif' failsafe=true}}
{/if} {/if}
<img src="{$image}" alt="{$company_name}" border="0" style="border: 0px none;border-color: ;border-style: none;border-width: 0px;height: 60px;width: 346px;margin: 0;padding: 0;line-height: 100%;outline: none;text-decoration: none;" width="346" height="60"> IMG <img src="{$image}" alt="{$company_name}" border="0" style="border: 0px none;border-color: ;border-style: none;border-width: 0px;width: 346px;height: 110px;margin: 0;padding: 0;line-height: 100%;outline: none;text-decoration: none;" width="346" height="110">
</td> </td>
</tr> </tr>
</table> </table>

View File

@@ -15,7 +15,7 @@
<tr> <tr>
<td class="headerContent" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;color: #202020;font-family: Helvetica;font-size: 20px;font-weight: bold;line-height: 100%;padding-top: 40px;padding-right: 0;padding-bottom: 20px;padding-left: 0;text-align: left;vertical-align: middle;border-collapse: collapse !important;"> <td class="headerContent" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;color: #202020;font-family: Helvetica;font-size: 20px;font-weight: bold;line-height: 100%;padding-top: 40px;padding-right: 0;padding-bottom: 20px;padding-left: 0;text-align: left;vertical-align: middle;border-collapse: collapse !important;">
{$image = {image file='assets/img/logo.png' failsafe=true}} {$image = {image file='assets/img/logo.png' failsafe=true}}
<img src="{$image}" alt="{$company_name}" border="0" style="border: 0px none;border-color: ;border-style: none;border-width: 0px;height: 60px;width: 346px;margin: 0;padding: 0;line-height: 100%;outline: none;text-decoration: none;" width="346" height="60"> <img src="{$image}" alt="{$company_name}" border="0" style="border: 0px none;border-color: ;border-style: none;border-width: 0px;height: 110px;width: 346px;margin: 0;padding: 0;line-height: 100%;outline: none;text-decoration: none;" width="346" height="110">
</td> </td>
</tr> </tr>
</table> </table>

View File

@@ -1 +1 @@
div.container{width:90%!important}.container{width:95%}.navbar li.cart-not-empty>a.cart:before{color:#fff}h2.name{line-height:1} div.container{width:90%!important}.container{width:95%}.navbar li.cart-not-empty>a.cart:before{color:#fff}h2.name{line-height:1}.logo-custom img{width:250px}header .logo-custom{height:80px}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 115 KiB

View File

@@ -13,3 +13,10 @@ div.container {
h2.name { h2.name {
line-height: 1; line-height: 1;
} }
.logo-custom img {
width: 250px;
}
header .logo-custom {
height: 80px;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 140 KiB

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} {hook name="delivery.footer-bottom" order=$order_id}
</page_footer> </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="*"} {loop name="order.invoice" type="order" id=$order_id customer="*"}
<table class="table-info"> <table class="table-info">

View File

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