This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/themes/default/blocks/invoice_item/view.tpl
2011-05-03 09:49:01 +10:00

80 lines
2.7 KiB
Smarty

{assign var=meth value=':'|explode:$VAR._page}
<!-- {$meth.0}:{$meth.1} -->
{$method->exe($meth.0,$meth.1)}
{if ($method->result == false)}
{$block->display('core:method_error')}
{else}
{include file='file:../core/view_pre.tpl'}
<!-- Display the field validation -->
{if $form_validation}
{$block->display('core:alert_fields')}
{/if}
<!-- Display each record -->
<form id="view" method="post" action="" enctype="multipart/form-data">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr valign="top">
<td class="table_heading">{osb f=tt}</td>
</tr>
<tr valign="top">
<td class="row1">
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
<tr valign="top">
<td width="35%">{osb f=tf field=sku}</td>
<td width="65%">{$list->date_time($record.sku)}</td>
</tr>
<tr valign="top">
<td width="35%">{osb f=tf field=item_type}</td>
<td width="65%">{if $record.item_type == '1'}{t}True{/t}{else}{t}False{/t}{/if}</td>
</tr>
<tr valign="top">
<td width="35%">{osb f=tf field=product_attr}</td>
<td width="65%">{$list->date_time($record.product_attr)}</td>
</tr>
<tr valign="top">
<td width="35%">{osb f=tf field=price_base}</td>
<td width="65%">{$list->date_time($record.price_base)}</td>
</tr>
<tr valign="top">
<td width="35%">{osb f=tf field=price_setup}</td>
<td width="65%">{$list->date_time($record.price_setup)}</td>
</tr>
<tr valign="top">
<td width="35%">{osb f=tf field=recurring_schedule}</td>
<td width="65%">{$list->date_time($record.recurring_schedule)}</td>
</tr>
<tr valign="top">
<td width="35%">{osb f=tf field=domain_name}</td>
<td width="65%">{$list->date_time($record.domain_name)}</td>
</tr>
<tr valign="top">
<td width="35%">{osb f=tf field=domain_tld}</td>
<td width="65%">{$list->date_time($record.domain_tld)}</td>
</tr>
<tr valign="top">
<td width="35%">{osb f=tf field=domain_term}</td>
<td width="65%">{$list->date_time($record.domain_term)}</td>
</tr>
<tr valign="top">
<td width="35%">{osb f=tf field=domain_type}</td>
<td width="65%">{$list->date_time($record.domain_type)}</td>
</tr>
</table>
</td>
</tr>
{include file='file:../core/view_tr_submit_delete.tpl'}
</table>
</td>
</tr>
</table>
{include file='file:../core/view_post.tpl'}
</form>
{/if}