{ $method->exe("ticket","search_form") } { if ($method->result == FALSE) } { $block->display("core:method_error") } {else}
{translate module=ticket} title_search {/translate}
{ $method->exe("ticket","static_var")} {foreach from=$static_var item=record} {/foreach}
{translate module=ticket} field_subject {/translate} {translate} search_partial {/translate}
{translate module=ticket} field_body {/translate} {translate} search_partial {/translate}
{translate module=ticket} field_email {/translate} {translate} search_partial {/translate}
{translate module=ticket} field_status {/translate}
{translate module=ticket} field_priority {/translate}
{translate module=ticket} field_department_id {/translate} { $list->menu("", "ticket_department_id", "ticket_department", "name", "all", "form_menu") }
{translate module=ticket} field_staff_id {/translate} { $list->menu("", "ticket_staff_id", "staff", "nickname", "all", "form_menu") }
{translate module=ticket} field_account_id {/translate} {html_select_account name="ticket_account_id" default=$VAR.ticket_account_id}
{translate module=ticket} field_date_orig {/translate} { $list->calender_search("ticket_date_orig", $VAR.ticket_date_orig, "form_field", "") }
{$record.name} {$record.html}
{translate} search_results_per {/translate}
{translate} search_order_by {/translate}
{/if}