// add new stylesheet view customer

This commit is contained in:
vKham committed 2011-12-28 15:58:13 +00:00
1 parent 2aa90badf2
commit e0bd1b19f2
1 file changed
+23 -10
+23 -10
View File
@@ -124,7 +124,7 @@
<h2>{l s='Messages'} ({count($messages)})</h2> <h2>{l s='Messages'} ({count($messages)})</h2>
{if count($messages)} {if count($messages)}
<table cellspacing="0" cellpadding="0" class="table"> <table cellspacing="0" cellpadding="0" class="table" style="width:100%;">
<tr> <tr>
<th class="center">{l s='Status'}</th> <th class="center">{l s='Status'}</th>
<th class="center">{l s='Message'}</th> <th class="center">{l s='Message'}</th>
@@ -220,29 +220,37 @@
</table> </table>
</div> </div>
{/if} {/if}
<div class="clear">&nbsp;</</div>
{assign var=count_ko value=count($orders_ko)} {assign var=count_ko value=count($orders_ko)}
{if $count_ko} {if $count_ko}
<div> <div>
<h3 style="color:red;font-weight:700">{l s='Invalid orders:'} {$count_ko}</h3> <h3 style="color:red;font-weight:700">{l s='Invalid orders:'} {$count_ko}</h3>
<table cellspacing="0" cellpadding="0" class="table"> <table cellspacing="0" cellpadding="0" class="table" style="width:100%;">
<colgroup>
<col width="10px"></col>
<col width="100px"></col>
<col width=""></col>
<col width=""></col>
<col width="100px"></col>
<col width="100px"></col>
<col width="52px"></col>
</colgroup>
<tr> <tr>
<th class="center">{l s='ID'}</th> <th height="39px" class="center">{l s='ID'}</th>
<th class="center">{l s='Date'}</th> <th class="center">{l s='Date'}</th>
<th class="center">{l s='Products'}</th>
<th class="center">{l s='Total paid'}</th>
<th class="center">{l s='Payment'}</th> <th class="center">{l s='Payment'}</th>
<th class="center">{l s='State'}</th> <th class="center">{l s='State'}</th>
<th class="center">{l s='Products'}</th>
<th class="center">{l s='Total paid'}</th>
<th class="center">{l s='Actions'}</th> <th class="center">{l s='Actions'}</th>
</tr> </tr>
{foreach $orders_ko AS $key => $order} {foreach $orders_ko AS $key => $order}
<tr {if $key %2}class="alt_row"{/if} style="cursor: pointer" onclick="document.location = '?tab=AdminOrders&id_order={$order['id_order']}&vieworder&token={getAdminToken tab='AdminOrders'}'"> <tr {if $key %2}class="alt_row"{/if} style="cursor: pointer" onclick="document.location = '?tab=AdminOrders&id_order={$order['id_order']}&vieworder&token={getAdminToken tab='AdminOrders'}'">
<td class="center">{$order['id_order']}</td> <td class="center">{$order['id_order']}</td>
<td>{$order['date_add']}</td> <td>{$order['date_add']}</td>
<td align="right">{$order['nb_products']}</td>
<td align="right">{$order['total_paid_real']}</td>
<td>{$order['payment']}</td> <td>{$order['payment']}</td>
<td>{$order['order_state']}</td> <td>{$order['order_state']}</td>
<td align="right">{$order['nb_products']}</td>
<td align="right">{$order['total_paid_real']}</td>
<td align="center"><a href="?tab=AdminOrders&id_order={$order['id_order']}&vieworder&token={getAdminToken tab='AdminOrders'}"><img src="../img/admin/details.gif" /></a></td> <td align="center"><a href="?tab=AdminOrders&id_order={$order['id_order']}&vieworder&token={getAdminToken tab='AdminOrders'}"><img src="../img/admin/details.gif" /></a></td>
</tr> </tr>
{/foreach} {/foreach}
@@ -389,9 +397,14 @@
</div> </div>
{if count($interested)} {if count($interested)}
<div style="float:left;margin-left:20px"> <div>
<h2>{l s='Products'} ({count($interested)})</h2> <h2>{l s='Products'} ({count($interested)})</h2>
<table cellspacing="0" cellpadding="0" class="table"> <table cellspacing="0" cellpadding="0" class="table" style="width:100%;">
<colgroup>
<col width="10px"></col>
<col width=""></col>
<col width="50px"></col>
</colgroup>
{foreach $interested as $key => $p} {foreach $interested as $key => $p}
<tr {if $key %2}class="alt_row"{/if} style="cursor: pointer" onclick="document.location = '{$p['url']}'"> <tr {if $key %2}class="alt_row"{/if} style="cursor: pointer" onclick="document.location = '{$p['url']}'">
<td>{$p['id']}</td> <td>{$p['id']}</td>