<html {$html_attrs}>
<head>
<title>RO - Visit Report: Advanced search page</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
<style>
#center_block{$id} {margin:0 auto;}
#contents_block{$id} {text-align:center;width:100%}
#header_block{$id} {white-space:nowrap;height:31px;padding-top:5px;}
#main_block{$id} {padding:10px 0;width:100%}
#inmain_block{$id} {margin:0 10px}
#buttons_block{$id} {width:100%;padding:10px 0;}
#buttons_block{$id} > * {margin:0 2px}
#conditions_block{$id} {padding:5px;}
</style>
<!--[if IE]>
<style>
#main_block{$id} {padding:10px 10;}
#inmain_block{$id} {margin:0 0px}
</style>
<![endif]-->
</head>
<body bgcolor=white {$bodyattrs}>
{BEGIN body}
{$header}
{BEGIN contents_block}
<table align=center id="center_block{$id}"><tr><td id="contents_block{$id}">
	
<b class="xtop"><b class="xb1b"></b><b class="xb2b"></b><b class="xb3b"></b><b class="xb4b"></b></b>
<div id="header_block{$id}" class="upeditmenu">RO - Visit Report - Advanced search</div>

<div class="main_table_border2">
<div class="main_table_border">

{BEGIN conditions_block}
<DIV id="conditions_block{$id}" class="loginshade">
<span class=fieldname>Search for:</span>
<input type="radio" name="srchType" {$all_checkbox}>{BEGIN all_checkbox_label}All conditions{END all_checkbox_label}
&nbsp;&nbsp;&nbsp;
<input type="radio" name="srchType" {$any_checkbox}>{BEGIN any_checkbox_label}Any condition{END any_checkbox_label}
</div>
{END conditions_block}
<table cellpadding=4 cellspacing=0 border=0 id="fields_block{$id}">
<tr valign=center>
<td align=center valign=middle class="headerlist">&nbsp;</td>
<td width=30 align=center valign=middle class=headerlist>NOT</td>
<td align=center valign=middle class="headerlist">&nbsp; </td>
<td align=center valign=middle class="headerlist">&nbsp; </td>
<td align=center valign=middle class="headerlist" style="border-right:0px;">&nbsp;</td></tr>

{BEGIN Nos_fieldblock}	
<tr>
	<td style="padding-left:15px;" class="editshade_b"><b>{BEGIN Nos_label}Nos{END Nos_label}</b>
	<td align=center style="padding-left:10px;" class="editshade_lb"><input type=checkbox {$Nos_notbox}></td>
	
	<td style="padding-left:10px;" class="editshade_lb">
	{$searchtype_Nos}
	</td>
	
	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Nos_editcontrol}&nbsp;</td>

	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Nos_editcontrol1}&nbsp;</td>
</tr>
{END Nos_fieldblock}
{BEGIN Employee_Name_fieldblock}	
<tr>
	<td style="padding-left:15px;" class="editshade_b"><b>{BEGIN Employee_Name_label}Employee Name{END Employee_Name_label}</b>
	<td align=center style="padding-left:10px;" class="editshade_lb"><input type=checkbox {$Employee_Name_notbox}></td>
	
	<td style="padding-left:10px;" class="editshade_lb">
	{$searchtype_Employee_Name}
	</td>
	
	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Employee_Name_editcontrol}&nbsp;</td>

	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Employee_Name_editcontrol1}&nbsp;</td>
</tr>
{END Employee_Name_fieldblock}
{BEGIN Customer_Name_fieldblock}	
<tr>
	<td style="padding-left:15px;" class="editshade_b"><b>{BEGIN Customer_Name_label}Customer Name{END Customer_Name_label}</b>
	<td align=center style="padding-left:10px;" class="editshade_lb"><input type=checkbox {$Customer_Name_notbox}></td>
	
	<td style="padding-left:10px;" class="editshade_lb">
	{$searchtype_Customer_Name}
	</td>
	
	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Customer_Name_editcontrol}&nbsp;</td>

	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Customer_Name_editcontrol1}&nbsp;</td>
</tr>
{END Customer_Name_fieldblock}
{BEGIN Contact_Person_fieldblock}	
<tr>
	<td style="padding-left:15px;" class="editshade_b"><b>{BEGIN Contact_Person_label}Contact Person{END Contact_Person_label}</b>
	<td align=center style="padding-left:10px;" class="editshade_lb"><input type=checkbox {$Contact_Person_notbox}></td>
	
	<td style="padding-left:10px;" class="editshade_lb">
	{$searchtype_Contact_Person}
	</td>
	
	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Contact_Person_editcontrol}&nbsp;</td>

	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Contact_Person_editcontrol1}&nbsp;</td>
</tr>
{END Contact_Person_fieldblock}
{BEGIN Purpose_Of_Visit_fieldblock}	
<tr>
	<td style="padding-left:15px;" class="editshade_b"><b>{BEGIN Purpose_Of_Visit_label}Purpose Of Visit{END Purpose_Of_Visit_label}</b>
	<td align=center style="padding-left:10px;" class="editshade_lb"><input type=checkbox {$Purpose_Of_Visit_notbox}></td>
	
	<td style="padding-left:10px;" class="editshade_lb">
	{$searchtype_Purpose_Of_Visit}
	</td>
	
	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Purpose_Of_Visit_editcontrol}&nbsp;</td>

	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Purpose_Of_Visit_editcontrol1}&nbsp;</td>
</tr>
{END Purpose_Of_Visit_fieldblock}
{BEGIN MOM_Summary_fieldblock}	
<tr>
	<td style="padding-left:15px;" class="editshade_b"><b>{BEGIN MOM_Summary_label}MOM Summary{END MOM_Summary_label}</b>
	<td align=center style="padding-left:10px;" class="editshade_lb"><input type=checkbox {$MOM_Summary_notbox}></td>
	
	<td style="padding-left:10px;" class="editshade_lb">
	{$searchtype_MOM_Summary}
	</td>
	
	<td width=270 style="padding-left:10px;" class="editshade_lb">{$MOM_Summary_editcontrol}&nbsp;</td>

	<td width=270 style="padding-left:10px;" class="editshade_lb">{$MOM_Summary_editcontrol1}&nbsp;</td>
</tr>
{END MOM_Summary_fieldblock}
{BEGIN Date_fieldblock}	
<tr>
	<td style="padding-left:15px;" class="editshade_b"><b>{BEGIN Date_label}Date{END Date_label}</b>
	<td align=center style="padding-left:10px;" class="editshade_lb"><input type=checkbox {$Date_notbox}></td>
	
	<td style="padding-left:10px;" class="editshade_lb">
	{$searchtype_Date}
	</td>
	
	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Date_editcontrol}&nbsp;</td>

	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Date_editcontrol1}&nbsp;</td>
</tr>
{END Date_fieldblock}
{BEGIN Visit_Status_fieldblock}	
<tr>
	<td style="padding-left:15px;" class="editshade_b"><b>{BEGIN Visit_Status_label}Visit Status{END Visit_Status_label}</b>
	<td align=center style="padding-left:10px;" class="editshade_lb"><input type=checkbox {$Visit_Status_notbox}></td>
	
	<td style="padding-left:10px;" class="editshade_lb">
	{$searchtype_Visit_Status}
	</td>
	
	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Visit_Status_editcontrol}&nbsp;</td>

	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Visit_Status_editcontrol1}&nbsp;</td>
</tr>
{END Visit_Status_fieldblock}
{BEGIN Region_fieldblock}	
<tr>
	<td style="padding-left:15px;" class="editshade_b"><b>{BEGIN Region_label}Region{END Region_label}</b>
	<td align=center style="padding-left:10px;" class="editshade_lb"><input type=checkbox {$Region_notbox}></td>
	
	<td style="padding-left:10px;" class="editshade_lb">
	{$searchtype_Region}
	</td>
	
	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Region_editcontrol}&nbsp;</td>

	<td width=270 style="padding-left:10px;" class="editshade_lb">{$Region_editcontrol1}&nbsp;</td>
</tr>
{END Region_fieldblock}
</table>

<div class="downedit" id="buttons_block{$id}">
{BEGIN search_button}
 <span class=buttonborder><input class=button type=button value="Search" {$searchbutton_attrs}></span>
{END search_button} 
{BEGIN reset_button}
 <span class=buttonborder><input class=button type=button value="Reset" {$resetbutton_attrs}></span>
{END reset_button}
{BEGIN back_button}
 <span class=buttonborder><input class=button type=button value="Back to list" {$backbutton_attrs}></span>
{END back_button}
</div>
</div>
</div>
<b class="xbottom"><b class="xb4b"></b><b class="xb3b"></b><b class="xb2b"></b><b class="xb1b"></b></b>
</td></tr></table>
{END contents_block}
{$footer}
{END body}
</body>
</html>