// change view carts
This commit is contained in:
@@ -28,16 +28,17 @@
|
||||
|
||||
{block name="override_tpl"}
|
||||
|
||||
<h2>{if $customer->id}{$customer->firstname} {$customer->lastname}{else}{l s='Guest'}{/if} - {l s='Cart #'}{$cart->id|string_format:"%06d"} {l s='from'} {$cart->date_upd}</h2>
|
||||
<div id="container-customer">
|
||||
<h2><img src="../img/admin/basket.png" /><span>{if $customer->id}{$customer->firstname} {$customer->lastname}{else}{l s='Guest'}{/if} - {l s='Cart #'}{$cart->id|string_format:"%06d"}</span><span style="color:#585A69;padding-left:10px;">{l s='from'} {$cart->date_upd}</span></h2>
|
||||
<div class="separation"></div>
|
||||
|
||||
<br />
|
||||
<div style="float: left;">
|
||||
<fieldset style="width: 400px">
|
||||
<legend><img src="../img/admin/tab-customers.gif" />{l s='Customer information'}</legend>
|
||||
<span style="font-weight: bold; font-size: 14px;">
|
||||
<div class="info-customer-left">
|
||||
<h2><img src="../img/admin/vcard.png" />{l s='Customer information'}</h2>
|
||||
<span style="font-size: 14px;">
|
||||
{if $customer->id}
|
||||
<a href={$link->getAdminLink('AdminCustomers')}&id_customer={$customer->id}&viewcustomer">{$customer->firstname} {$customer->lastname}</a></span> {l s='#'}{$customer->id}<br />
|
||||
<a href="mailto:{$customer->email}">{$customer->email}</a> <br /><br />
|
||||
<a href="{$link->getAdminLink('AdminCustomers')}&id_customer={$customer->id}&viewcustomer">{$customer->firstname} {$customer->lastname}</a></span>
|
||||
{l s='#'}{$customer->id}<br />
|
||||
<a style="text-decoration: underline; color:#268CCD;" href="mailto:{$customer->email}">{$customer->email}</a> <br /><br />
|
||||
{l s='Account registered:'} {dateFormat date=$customer->date_add}<br />
|
||||
{l s='Valid orders placed:'} <b>{$customer_stats.nb_orders}</b><br />
|
||||
{l s='Total paid since registration:'} <b>{displayWtPriceWithCurrency price=$customer_stats.total_orders currency=$currency}</b><br />
|
||||
@@ -45,30 +46,29 @@
|
||||
{l s='Guest not registered'}
|
||||
{/if}
|
||||
</span>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div style="float: left; margin-left: 40px">
|
||||
<fieldset style="width: 400px">
|
||||
<legend><img src="../img/admin/cart.gif" /> {l s='Order information'}</legend>
|
||||
<span style="font-weight: bold; font-size: 14px;">
|
||||
<div class="info-customer-right">
|
||||
<h2><img src="../img/admin/cart.gif" /> {l s='Order information'}</h2>
|
||||
<span>
|
||||
{if $order->id}
|
||||
<a href="{$link->getAdminLink('AdminOrders')}&id_order={$order->id}&vieworder"> {l s='Order #'}{$order->id|string_format:"%06d"}</a></span>
|
||||
<br /><br />
|
||||
{l s='Made on:'} {dateFormat date=$order->date_add}<br /><br /><br /><br />
|
||||
{else}
|
||||
{l s='No order created from this cart'}</span>
|
||||
<p><a href="{$link->getAdminLink('AdminOrders')}&id_cart={$cart->id}&addorder">{l s='Create an order with this cart'}</a></p>
|
||||
<p><a class="button" href="{$link->getAdminLink('AdminOrders')}&id_cart={$cart->id}&addorder">{l s='Create an order with this cart'}</a></p>
|
||||
{/if}
|
||||
</fieldset>
|
||||
</div>
|
||||
<br style="clear:both;" />
|
||||
<fieldset style="margin-top:25px; width: 715px; ">
|
||||
<legend><img src="../img/admin/cart.gif" alt="{l s='Products'}" />{l s='Cart summary'}</legend>
|
||||
<div style="float:left;">
|
||||
<table style="width: 700px;" cellspacing="0" cellpadding="0" class="table" id="orderProducts">
|
||||
<div class="separation"></div>
|
||||
|
||||
|
||||
<h2><img src="../img/admin/cart.gif" alt="{l s='Products'}" />{l s='Cart summary'}</h2>
|
||||
<br/>
|
||||
<table style="width:100%;" cellspacing="0" cellpadding="0" class="table" id="orderProducts">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center" style="width: 60px"> </th>
|
||||
<th height="39" align="center" style="width: 60px"> </th>
|
||||
<th>{l s='Product'}</th>
|
||||
<th style="width: 80px; text-align: center">{l s='UP'}</th>
|
||||
<th style="width: 20px; text-align: center">{l s='Qty'}</th>
|
||||
@@ -183,8 +183,9 @@
|
||||
{/if}
|
||||
<div style="float:left; margin-top:15px;">
|
||||
{l s='According to the group of this customer, prices are printed:'} <b>{if $order->getTaxCalculationMethod() == $smarty.const.PS_TAX_EXC}{l s='tax excluded'}{else}{l s='tax included'}{/if}</b>
|
||||
</div></div>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
<div class="clear" style="height:20px;"> </div>
|
||||
{/block}
|
||||
|
||||
</div>
|
||||
@@ -28,8 +28,8 @@
|
||||
|
||||
{if !$email}
|
||||
|
||||
<fieldset style="margin-top:10px;{if !empty($message.employee_name)}background: rgb(255,236,242){/if}">
|
||||
<legend {if !empty($message.employee_name)}style="background:rgb(255,210,225)"{/if}>
|
||||
<fieldset style="margin-top:10px;{if !empty($message.employee_name)}background-color:#F0F8E6;border:1px solid #88D254{/if}">
|
||||
<legend {if !empty($message.employee_name)}style="background-color:#F0F8E6;color:#000;border:1px solid #88D254;"{/if}>
|
||||
{if !empty($message.employee_name)}
|
||||
<img src="../img/t/AdminCustomers.gif" alt="{$PS_SHOP_NAME}" />
|
||||
{$PS_SHOP_NAME} - {$message.employee_name}
|
||||
@@ -192,10 +192,12 @@
|
||||
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</fieldset>
|
||||
</fieldset>
|
||||
|
||||
|
||||
@@ -142,7 +142,7 @@
|
||||
{$message}
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="clear"> </div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
<img src="../img/admin/edit.gif" />
|
||||
</a>
|
||||
</div>
|
||||
<span style="font-weight: bold; font-size: 14px;">
|
||||
<span style="font-size: 14px;">
|
||||
{$customer->firstname} {$customer->lastname}
|
||||
</span>
|
||||
<img src="{$gender_image}" style="margin-bottom: 5px" /><br />
|
||||
|
||||
@@ -28,12 +28,11 @@
|
||||
|
||||
{block name="override_tpl"}
|
||||
|
||||
<fieldset style="width: 400px">
|
||||
<span style="font-weight: bold; font-size: 14px;">{l s='Name:'}</span> {$group->name[$language->id]}
|
||||
<div class="clear"> </div>
|
||||
<span style="font-weight: bold; font-size: 14px;">{l s='Discount:'}</span> {$group->reduction} {l s='%'}
|
||||
<div class="clear"> </div>
|
||||
<span style="font-weight: bold; font-size: 14px;">{l s='Current category discount:'}</span>
|
||||
<fieldset>
|
||||
<ul>
|
||||
<li><span style="font-weight: bold; font-size: 13px; color:#000;">{l s='Name:'}</span> {$group->name[$language->id]}</li>
|
||||
<li><span style="font-weight: bold; font-size: 13px; color:#000;">{l s='Discount:'}</span> {$group->reduction} {l s='%'}</li>
|
||||
<li><span style="font-weight: bold; font-size: 13px; color:#000;">{l s='Current category discount:'}</span>
|
||||
{if !$categorieReductions}
|
||||
{l s='None'}
|
||||
{else}
|
||||
@@ -46,16 +45,18 @@
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
<div class="clear"> </div>
|
||||
<span style="font-weight: bold; font-size: 14px;">{l s='Price display method:'}</span>
|
||||
</li>
|
||||
|
||||
<li><span style="font-weight: bold; font-size: 13px; color:#000;">{l s='Price display method:'}</span>
|
||||
{if $group->price_display_method}
|
||||
{l s='Tax excluded'}
|
||||
{else}
|
||||
{l s='Tax included'}
|
||||
{/if}
|
||||
<div class="clear"> </div>
|
||||
<span style="font-weight: bold; font-size: 14px;">{l s='Show prices:'}</span> {if $group->show_prices}{l s='Yes'}{else}{l s='No'}{/if}
|
||||
<div class="clear"> </div>
|
||||
</li>
|
||||
<li><span style="font-weight: bold; font-size: 13px; color:#000;">{l s='Show prices:'}</span> {if $group->show_prices}{l s='Yes'}{else}{l s='No'}{/if}
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<h2>{l s='Customer members of this group'}</h2>
|
||||
{$customerList}
|
||||
|
||||
@@ -66,15 +66,15 @@
|
||||
|
||||
<div>
|
||||
<label>{l s='Type:'}</label>
|
||||
<label style="width:100px;text-align:center;">
|
||||
<label style="font-weight:normal;width:100px;text-align:center;">
|
||||
<input type="radio" name="type_product" id="simple_product" value="0" />
|
||||
{l s='Product'}
|
||||
</label>
|
||||
<label style="width:100px;text-align:center;">
|
||||
<label style="font-weight:normal;width:100px;text-align:center;">
|
||||
<input type="radio" name="type_product" id="pack_product" value="1" />
|
||||
{l s='Pack'}
|
||||
</label>
|
||||
<label style="width:500px;text-align:center;">
|
||||
<label style="font-weight:normal;width:500px;text-align:center;">
|
||||
<input type="radio" name="type_product" id="virtual_product" value="2" />
|
||||
{l s='Virtual Product (services, booking and downloadable products)'}
|
||||
</label>
|
||||
|
||||
@@ -41,19 +41,18 @@
|
||||
<input type="radio" name="tracking_dt" id="tracking_dt_off" value="0" {if !$tracking_dt}checked="checked"{/if}/>
|
||||
<label class="t" for="tracking_dt_off"> {l s='No'}</label>
|
||||
</div>
|
||||
<br class="clear" />
|
||||
<p>{l s='Direct traffic can be quite consuming. You should consider enabling it only if you have a strong database server and a strong need for it.'}</p>
|
||||
<input type="submit" class="button" value="{l s=' Save '}" name="submitSettings" id="submitSettings" />
|
||||
</form>
|
||||
<hr />
|
||||
<div class="separation"></div>
|
||||
<form action="{$current}&token={$token}" method="post" id="refresh_index_form" name="refresh_index_form">
|
||||
<p class="bold">{l s='Indexation'}</p>
|
||||
<h3>{l s='Indexation'}</h3>
|
||||
<p>{l s='There is a huge quantity of data, so each connection corresponding to a referrer is indexed. You can refresh this index by clicking on the button above. Be aware that it may take a long time and it is only needed if you modified or added a referrer and if you want your changes to be retroactive.'}</p>
|
||||
<input type="submit" class="button" value="{l s='Refresh index'}" name="submitRefreshIndex" id="submitRefreshIndex" />
|
||||
</form>
|
||||
<hr />
|
||||
<div class="separation"></div>
|
||||
<form action="{$current}&token={$token}" method="post" id="refresh_cache_form" name="refresh_cache_form">
|
||||
<p class="bold">{l s='Cache'}</p>
|
||||
<h3>{l s='Cache'}</h3>
|
||||
<p>{l s='For you to sort and filter your data, it is cached. You can refresh the cache by clicking on the button above.'}</p>
|
||||
<input type="submit" class="button" value="{l s='Refresh cache'}" name="submitRefreshCache" id="submitRefreshCache" />
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user