Remplacement du logo dans email, pdf et dans le front

This commit is contained in:
2024-01-02 14:48:48 +01:00
parent dc001f84e1
commit 1865ce3d3e
31 changed files with 135 additions and 13150 deletions

View File

@@ -14,7 +14,7 @@
{literal}
<style>
h1, h2, h3, h4 {
color:#000044;
color:#143058;
margin: .5em 0;
}
@@ -36,7 +36,7 @@
}
h5 {
color:#000044;//#ffffff;
color:#143058;//#ffffff;
font-size: 12px;
}
@@ -68,7 +68,7 @@
.table-info h3 {
font-size: 18px;
color: #000044;
color: #143058;
margin-top: 0;
margin-bottom: 15px;
}
@@ -82,11 +82,14 @@
font-size: 12px;
}
.table-1 td {
background: #f1f3f4;//#000044;
border:solid 1px #bcbdc0;
background: #143058; //#f1f3f4
border:solid 1px #143058;
}
.table-1 td h5 {
color: white;
}
.table-2 td {
.table-2 td {
border:solid 1px #bcbdc0;
}
@@ -186,15 +189,30 @@
{$image = {image file='img/logo.png' failsafe=true}}
<img src="{$image}" alt="{$store_name}">
</td>
<td style="vertical-align: middle;">
<td style="vertical-align: middle; padding-left: 100px">
<h2>{intl l="INVOICE"}</h2>
<span>{intl l="Invoice date"} : {format_date date=$INVOICE_DATE output="date"}</span>
<br />
<span>{intl l="Invoice REF"} : {$REF}</span>
<br />
{loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}
<span>{intl l="Customer Number"} : {$REF}</span>
<br />
<span>{intl l="Phone"} : {loop type="address" name="phone.default" customer=$ID default="true"}{$PHONE} - {$CELLPHONE}{/loop}</span>
<br />
<span>{intl l="Email"} : {loop type="address" name="email.default" customer=$ID default="true"}{$EMAIL}{/loop}</span>
{/loop}
<!--
<span style="font-size: 7mm; color: #000044; text-transform:uppercase;">{config key="store_name"}</span>
<br />
<span style="font-size: 3.3mm; text-transform:uppercase;">{config key="store_description"}</span>
//-->
</td>
</tr>
</table>
</tr>
</table>
</td>
</tr>
</tr>
<!--
<tr>
<td>
<h2>{intl l="INVOICE"}</h2>
@@ -217,6 +235,7 @@
<td>{intl l="Email"} : {loop type="address" name="email.default" customer=$ID default="true"}{$EMAIL}{/loop}</td>
</tr>
{/loop}
//-->
{hookblock name="invoice.information" order=$order_id fields="title,value"}
{forhook rel="invoice.information"}
<tr>
@@ -261,14 +280,13 @@
<col style="width: 12%; padding: 1mm;" />
<col style="width: 12%; padding: 1mm;" />
<col style="width: 12%; padding: 1mm;" />
<tr class="table-1">
<td><h5>{intl l="Product"}</h5></td>
<td><h5 class="align-center">{intl l="Unit. price"}</h5></td>
<td><h5 class="align-center">{intl l="Tax"}</h5></td>
<td><h5 class="align-center">{intl l="Unit taxed price"}</h5></td>
<td><h5 class="align-center">{intl l="Quantity"}</h5></td>
<td style="background:#f1f3f4"><h5 style="color:#000044;" class="align-center">{intl l="Taxed total"}</h5></td>
<td><h5 class="align-center">{intl l="Taxed total"}</h5></td>
</tr>
{loop type="order_product" name="order-products" order=$ID}
{if $WAS_IN_PROMO == 1}