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/search_form.tpl
2011-05-03 09:49:01 +10:00

93 lines
4.5 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}
<form id="search_form" 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 width="65%" class="table_heading"><center>{translate module=invoice_item}title_search{/translate}</center></td>
</tr>
<tr valign="top">
<td width="65%" class="row1">
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
<tr valign="top">
<td width="35%">{translate module=invoice_item}field_sku{/translate}</td>
<td width="65%">
<input type="text" name="invoice_item_sku" value="{$VAR.invoice_item_sku}" {if $invoice_item_sku == true}class="form_field_error"{/if}/>&nbsp;&nbsp;{t}"%" for partial match{/t}
</td>
</tr>
<tr valign="top">
<td width="35%">{translate module=invoice_item}field_item_type{/translate}</td>
<td width="65%">{$list->bool('invoice_item_item_type','all')}</td>
</tr>
<tr valign="top">
<td width="35%">{translate module=invoice_item}field_product_attr{/translate}</td>
<td width="65%">
<input type="text" name="invoice_item_product_attr" value="{$VAR.invoice_item_product_attr}" {if $invoice_item_product_attr == true}class="form_field_error"{/if}/>&nbsp;&nbsp;{t}"%" for partial match{/t}
</td>
</tr>
<tr valign="top">
<td width="35%">{translate module=invoice_item}field_price_base{/translate}</td>
<td width="65%">
<input type="text" name="invoice_item_price_base" value="{$VAR.invoice_item_price_base}" {if $invoice_item_price_base == true}class="form_field_error"{/if}/>&nbsp;&nbsp;{t}"%" for partial match{/t}
</td>
</tr>
<tr valign="top">
<td width="35%">{translate module=invoice_item}field_price_setup{/translate}</td>
<td width="65%">
<input type="text" name="invoice_item_price_setup" value="{$VAR.invoice_item_price_setup}" {if $invoice_item_price_setup == true}class="form_field_error"{/if}/>&nbsp;&nbsp;{t}"%" for partial match{/t}
</td>
</tr>
<tr valign="top">
<td width="35%">{translate module=invoice_item}field_recurring_schedule{/translate}</td>
<td width="65%">
<input type="text" name="invoice_item_recurring_schedule" value="{$VAR.invoice_item_recurring_schedule}" {if $invoice_item_recurring_schedule == true}class="form_field_error"{/if} size="5"/>&nbsp;&nbsp;{t}"%" for partial match{/t}
</td>
</tr>
<tr valign="top">
<td width="35%">{translate module=invoice_item}field_domain_name{/translate}</td>
<td width="65%">
<input type="text" name="invoice_item_domain_name" value="{$VAR.invoice_item_domain_name}" {if $invoice_item_domain_name == true}class="form_field_error"{/if}/>&nbsp;&nbsp;{t}"%" for partial match{/t}
</td>
</tr>
<tr valign="top">
<td width="35%">{translate module=invoice_item}field_domain_tld{/translate}</td>
<td width="65%">
<input type="text" name="invoice_item_domain_tld" value="{$VAR.invoice_item_domain_tld}" {if $invoice_item_domain_tld == true}class="form_field_error"{/if}/>&nbsp;&nbsp;{t}"%" for partial match{/t}
</td>
</tr>
<tr valign="top">
<td width="35%">{translate module=invoice_item}field_domain_term{/translate}</td>
<td width="65%">
<input type="text" name="invoice_item_domain_term" value="{$VAR.invoice_item_domain_term}" {if $invoice_item_domain_term == true}class="form_field_error"{/if} size="5"/>&nbsp;&nbsp;{t}"%" for partial match{/t}
</td>
</tr>
<tr valign="top">
<td width="35%">{translate module=invoice_item}field_domain_type{/translate}</td>
<td width="65%">
<input type="text" name="invoice_item_domain_type" value="{$VAR.invoice_item_domain_type}" {if $invoice_item_domain_type == true}class="form_field_error"{/if}/>&nbsp;&nbsp;{t}"%" for partial match{/t}
</td>
</tr>
{include file='file:../core/search_post.tpl'}
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
{$block->display('core:saved_searches')}
{$block->display('core:recent_searches')}
{/if}