<html {$html_attrs}>
<head>
<title>Open Leads Report</title>
{BEGIN stylesheetlink}
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
{END stylesheetlink}
<style>
.grid_block {  
margin-top:5px;
border-collapse: collapse;
align:center;
width:95%;
border: solid black 1px;
} 
.grid_block td { 
 padding: 5px; 
 margin: 0px; 
 border: solid #cccccc 1px;
}
.grid_block .gridspacing {width:20px;border-top-color:white; border-bottom-color:white;background-color:white}
@media print 
{
	a.pdf {display:none}
}
.printpage {page-break-after:always}
.pagesummary
{
background-color:#ffffbb;
}
.globalsummary
{
background-color:#ffe0b0;
}

{$cssdata}


.group_1
{
background-color: #90EE90;
}
.group_2
{
background-color: #ADD8E6;
}


.nbgroup_1
{
background-color: #90EE90;
border-style:none;
}
.nbgroup_2
{
background-color: #ADD8E6;
border-style:none;
}


.header_1
{
background-color: #7ACA7A;
}
.header_2
{
background-color: #93B7C3;
}


</style> 
</head>
<body topmargin=5 style="background:white">
{BEGIN body}
{$header}
{BEGIN page}
<div>
<h1>Open Leads Report</h1>

<div id='selpage'>Page {$pageno} of {$maxpages} </div>


{BEGIN grid_block}
<table align="center" cellpadding=5 class="grid_block">
{BEGIN grid_header}
<tr>
<td class=blackshade>
{BEGIN Employee_Name_fieldheader}
<b>Employee Name</b>
{END Employee_Name_fieldheader}
</td>
<td class=blackshade>
{BEGIN Lead_Status_fieldheader}
<b>Lead Status</b>
{END Lead_Status_fieldheader}
</td>
<td class=blackshade>
{BEGIN Leadid_fieldheader}
<b>Leadid</b>
{END Leadid_fieldheader}
</td>
<td class=blackshade>
{BEGIN Customer_Name_fieldheader}
<b>Customer Name</b>
{END Customer_Name_fieldheader}
</td>
<td class=blackshade>
{BEGIN Contact_Person_fieldheader}
<b>Contact Person</b>
{END Contact_Person_fieldheader}
</td>
<td class=blackshade>
{BEGIN Lead_Details_fieldheader}
<b>Lead Details</b>
{END Lead_Details_fieldheader}
</td>
<td class=blackshade>
{BEGIN Approx_Closure_Date_fieldheader}
<b>Approx Closure Date</b>
{END Approx_Closure_Date_fieldheader}
</td>
<td class=blackshade>
{BEGIN WIN___Lost_Analysis_fieldheader}
<b>WIN / Lost Analysis</b>
{END WIN___Lost_Analysis_fieldheader}
</td>
</tr>
{END grid_header}
{BEGIN grid_row}
<!-------------------------------------  group headers ----------------------------------------->
{BEGIN Employee_Name_newgroup}
<tr>
		<td class=header_1 colspan=8><font style="font-weight:900">{$Employee_Name_grval}</font></td>
		
</tr>
{END Employee_Name_newgroup}
{BEGIN Lead_Status_newgroup}
<tr>
		<td class="noborder group_1" style="border-style:none;">&nbsp;</td>

		<td class=header_2 colspan=7><font style="font-weight:900">{$Lead_Status_grval}</font></td>

</tr>
{END Lead_Status_newgroup}
<!-------------------------------------  data ----------------------------------------->
{BEGIN row_data}
<tr>
			<td style="BORDER-BOTTOM-STYLE: none; BORDER-TOP-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-RIGHT: 1px solid" class="noborder group_1">&nbsp;</td>
			<td style="BORDER-BOTTOM-STYLE: none; BORDER-TOP-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-RIGHT: 1px solid" class="noborder group_2">&nbsp;</td>
	<td class=data>{$Leadid_value}</td>
	<td class=data>{$Customer_Name_value}</td>
	<td class=data>{$Contact_Person_value}</td>
	<td class=data>{$Lead_Details_value}</td>
	<td class=data>{$Approx_Closure_Date_value}</td>
	<td class=data>{$WIN___Lost_Analysis_value}</td>
</tr>
{END row_data}
<!-------------------------------------  group summary ----------------------------------------->
{END grid_row}
</table>
{END grid_block}
</div>
{END page}
{$footer}
{END body}
</body>
</html>