<html {$html_attrs}>
<head>
<title>Open Leads</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>
.grid_block {  
margin-top:5px;
border-collapse: collapse;
align:center;
width:95%;
border:none;
} 
.grid_block td { 
 padding: 5px; 
 margin: 0px; 
 border: solid black 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}
#selpage{margin-left:30px;}
</style> 
</head>
<body style="background-color:white">
{BEGIN body}
{$header}
{BEGIN page}
{BEGIN mastertable_block}
<div id="mastertable_block">
{$showmasterfile}
</div>
{END mastertable_block}

<h1>Open Leads</h1>
{BEGIN page_number}
<div id='selpage'>Page {$pageno} of {$maxpages} </div>
{END page_number}

{BEGIN grid_block}

<table align="center" cellpadding=5 class="grid_block">
{BEGIN grid_header}
<tr>
{BEGIN record_header}
{BEGIN Leadid_fieldheadercolumn}
	<td>
{BEGIN Leadid_fieldheader}
	<b>Leadid</b>
{END Leadid_fieldheader}
	</td>
{END Leadid_fieldheadercolumn}
{BEGIN Region_fieldheadercolumn}
	<td>
{BEGIN Region_fieldheader}
	<b>Region</b>
{END Region_fieldheader}
	</td>
{END Region_fieldheadercolumn}
{BEGIN Customer_Name_fieldheadercolumn}
	<td>
{BEGIN Customer_Name_fieldheader}
	<b>Customer Name</b>
{END Customer_Name_fieldheader}
	</td>
{END Customer_Name_fieldheadercolumn}
{BEGIN Contact_Person_fieldheadercolumn}
	<td>
{BEGIN Contact_Person_fieldheader}
	<b>Contact Person</b>
{END Contact_Person_fieldheader}
	</td>
{END Contact_Person_fieldheadercolumn}
{BEGIN Lead_Details_fieldheadercolumn}
	<td>
{BEGIN Lead_Details_fieldheader}
	<b>Lead Details</b>
{END Lead_Details_fieldheader}
	</td>
{END Lead_Details_fieldheadercolumn}
{BEGIN Employee_Name_fieldheadercolumn}
	<td>
{BEGIN Employee_Name_fieldheader}
	<b>Employee Name</b>
{END Employee_Name_fieldheader}
	</td>
{END Employee_Name_fieldheadercolumn}
{BEGIN Approx_Closure_Date_fieldheadercolumn}
	<td>
{BEGIN Approx_Closure_Date_fieldheader}
	<b>Approx Closure Date</b>
{END Approx_Closure_Date_fieldheader}
	</td>
{END Approx_Closure_Date_fieldheadercolumn}
{BEGIN Lead_Status_fieldheadercolumn}
	<td>
{BEGIN Lead_Status_fieldheader}
	<b>Lead Status</b>
{END Lead_Status_fieldheader}
	</td>
{END Lead_Status_fieldheadercolumn}
{BEGIN Requirement_Details_fieldheadercolumn}
	<td>
{BEGIN Requirement_Details_fieldheader}
	<b>Requirement Details</b>
{END Requirement_Details_fieldheader}
	</td>
{END Requirement_Details_fieldheadercolumn}
{BEGIN First_Quote_Remarks_fieldheadercolumn}
	<td>
{BEGIN First_Quote_Remarks_fieldheader}
	<b>First Quote Remarks</b>
{END First_Quote_Remarks_fieldheader}
	</td>
{END First_Quote_Remarks_fieldheadercolumn}
{BEGIN Proposed_Closure_Date_fieldheadercolumn}
	<td>
{BEGIN Proposed_Closure_Date_fieldheader}
	<b>Proposed Closure Date</b>
{END Proposed_Closure_Date_fieldheader}
	</td>
{END Proposed_Closure_Date_fieldheadercolumn}
{BEGIN Projected_Closure_QTR_fieldheadercolumn}
	<td>
{BEGIN Projected_Closure_QTR_fieldheader}
	<b>Projected Closure QTR</b>
{END Projected_Closure_QTR_fieldheader}
	</td>
{END Projected_Closure_QTR_fieldheadercolumn}
{BEGIN Proposed_Solution_Details_fieldheadercolumn}
	<td>
{BEGIN Proposed_Solution_Details_fieldheader}
	<b>Proposed Solution Details</b>
{END Proposed_Solution_Details_fieldheader}
	</td>
{END Proposed_Solution_Details_fieldheadercolumn}
{BEGIN Final_Quote_Remarks_fieldheadercolumn}
	<td>
{BEGIN Final_Quote_Remarks_fieldheader}
	<b>Final Quote Remarks</b>
{END Final_Quote_Remarks_fieldheader}
	</td>
{END Final_Quote_Remarks_fieldheadercolumn}
{BEGIN Discussion_Highlights_fieldheadercolumn}
	<td>
{BEGIN Discussion_Highlights_fieldheader}
	<b>Discussion Highlights</b>
{END Discussion_Highlights_fieldheader}
	</td>
{END Discussion_Highlights_fieldheadercolumn}
{BEGIN WIN___Lost_Analysis_fieldheadercolumn}
	<td>
{BEGIN WIN___Lost_Analysis_fieldheader}
	<b>WIN / Lost Analysis</b>
{END WIN___Lost_Analysis_fieldheader}
	</td>
{END WIN___Lost_Analysis_fieldheadercolumn}
{BEGIN Alligned_Vendor_fieldheadercolumn}
	<td>
{BEGIN Alligned_Vendor_fieldheader}
	<b>Alligned Vendor</b>
{END Alligned_Vendor_fieldheader}
	</td>
{END Alligned_Vendor_fieldheadercolumn}
{BEGIN endrecordheader_block}
	<td class="gridspacing">&nbsp;</td>
{END endrecordheader_block}
{END record_header}
</tr>
{END grid_header}
{BEGIN grid_row}
<tr valign=top {$rowstyle} {$rowattrs}>
{BEGIN grid_record}
{BEGIN Leadid_fieldcolumn}
<td {$Leadid_style}>
{$Leadid_value}
</td>
{END Leadid_fieldcolumn}
{BEGIN Region_fieldcolumn}
<td {$Region_style}>
{$Region_value}
</td>
{END Region_fieldcolumn}
{BEGIN Customer_Name_fieldcolumn}
<td {$Customer_Name_style}>
{$Customer_Name_value}
</td>
{END Customer_Name_fieldcolumn}
{BEGIN Contact_Person_fieldcolumn}
<td {$Contact_Person_style}>
{$Contact_Person_value}
</td>
{END Contact_Person_fieldcolumn}
{BEGIN Lead_Details_fieldcolumn}
<td {$Lead_Details_style}>
{$Lead_Details_value}
</td>
{END Lead_Details_fieldcolumn}
{BEGIN Employee_Name_fieldcolumn}
<td {$Employee_Name_style}>
{$Employee_Name_value}
</td>
{END Employee_Name_fieldcolumn}
{BEGIN Approx_Closure_Date_fieldcolumn}
<td {$Approx_Closure_Date_style}>
{$Approx_Closure_Date_value}
</td>
{END Approx_Closure_Date_fieldcolumn}
{BEGIN Lead_Status_fieldcolumn}
<td {$Lead_Status_style}>
{$Lead_Status_value}
</td>
{END Lead_Status_fieldcolumn}
{BEGIN Requirement_Details_fieldcolumn}
<td {$Requirement_Details_style}>
{$Requirement_Details_value}
</td>
{END Requirement_Details_fieldcolumn}
{BEGIN First_Quote_Remarks_fieldcolumn}
<td {$First_Quote_Remarks_style}>
{$First_Quote_Remarks_value}
</td>
{END First_Quote_Remarks_fieldcolumn}
{BEGIN Proposed_Closure_Date_fieldcolumn}
<td {$Proposed_Closure_Date_style}>
{$Proposed_Closure_Date_value}
</td>
{END Proposed_Closure_Date_fieldcolumn}
{BEGIN Projected_Closure_QTR_fieldcolumn}
<td {$Projected_Closure_QTR_style}>
{$Projected_Closure_QTR_value}
</td>
{END Projected_Closure_QTR_fieldcolumn}
{BEGIN Proposed_Solution_Details_fieldcolumn}
<td {$Proposed_Solution_Details_style}>
{$Proposed_Solution_Details_value}
</td>
{END Proposed_Solution_Details_fieldcolumn}
{BEGIN Final_Quote_Remarks_fieldcolumn}
<td {$Final_Quote_Remarks_style}>
{$Final_Quote_Remarks_value}
</td>
{END Final_Quote_Remarks_fieldcolumn}
{BEGIN Discussion_Highlights_fieldcolumn}
<td {$Discussion_Highlights_style}>
{$Discussion_Highlights_value}
</td>
{END Discussion_Highlights_fieldcolumn}
{BEGIN WIN___Lost_Analysis_fieldcolumn}
<td {$WIN___Lost_Analysis_style}>
{$WIN___Lost_Analysis_value}
</td>
{END WIN___Lost_Analysis_fieldcolumn}
{BEGIN Alligned_Vendor_fieldcolumn}
<td {$Alligned_Vendor_style}>
{$Alligned_Vendor_value}
</td>
{END Alligned_Vendor_fieldcolumn}
{BEGIN endrecord_block}
<td class="gridspacing">&nbsp;</td>
{END endrecord_block}
{END grid_record}
</tr>
{END grid_row}
<!-- totals row -->
{BEGIN totals_row}
<tr>
{BEGIN Leadid_fieldfootercolumn}
<td>
{BEGIN Leadid_showtotal}
	<b>
					Count:
					{$Leadid_total}
	</b>
{END Leadid_showtotal}
</td>
{END Leadid_fieldfootercolumn}
{BEGIN Region_fieldfootercolumn}
<td>
{BEGIN Region_showtotal}
	<b>
					</b>
{END Region_showtotal}
</td>
{END Region_fieldfootercolumn}
{BEGIN Customer_Name_fieldfootercolumn}
<td>
{BEGIN Customer_Name_showtotal}
	<b>
					</b>
{END Customer_Name_showtotal}
</td>
{END Customer_Name_fieldfootercolumn}
{BEGIN Contact_Person_fieldfootercolumn}
<td>
{BEGIN Contact_Person_showtotal}
	<b>
					</b>
{END Contact_Person_showtotal}
</td>
{END Contact_Person_fieldfootercolumn}
{BEGIN Lead_Details_fieldfootercolumn}
<td>
{BEGIN Lead_Details_showtotal}
	<b>
					</b>
{END Lead_Details_showtotal}
</td>
{END Lead_Details_fieldfootercolumn}
{BEGIN Employee_Name_fieldfootercolumn}
<td>
{BEGIN Employee_Name_showtotal}
	<b>
					</b>
{END Employee_Name_showtotal}
</td>
{END Employee_Name_fieldfootercolumn}
{BEGIN Approx_Closure_Date_fieldfootercolumn}
<td>
{BEGIN Approx_Closure_Date_showtotal}
	<b>
					</b>
{END Approx_Closure_Date_showtotal}
</td>
{END Approx_Closure_Date_fieldfootercolumn}
{BEGIN Lead_Status_fieldfootercolumn}
<td>
{BEGIN Lead_Status_showtotal}
	<b>
					</b>
{END Lead_Status_showtotal}
</td>
{END Lead_Status_fieldfootercolumn}
{BEGIN Requirement_Details_fieldfootercolumn}
<td>
{BEGIN Requirement_Details_showtotal}
	<b>
					</b>
{END Requirement_Details_showtotal}
</td>
{END Requirement_Details_fieldfootercolumn}
{BEGIN First_Quote_Remarks_fieldfootercolumn}
<td>
{BEGIN First_Quote_Remarks_showtotal}
	<b>
					</b>
{END First_Quote_Remarks_showtotal}
</td>
{END First_Quote_Remarks_fieldfootercolumn}
{BEGIN Proposed_Closure_Date_fieldfootercolumn}
<td>
{BEGIN Proposed_Closure_Date_showtotal}
	<b>
					</b>
{END Proposed_Closure_Date_showtotal}
</td>
{END Proposed_Closure_Date_fieldfootercolumn}
{BEGIN Projected_Closure_QTR_fieldfootercolumn}
<td>
{BEGIN Projected_Closure_QTR_showtotal}
	<b>
					</b>
{END Projected_Closure_QTR_showtotal}
</td>
{END Projected_Closure_QTR_fieldfootercolumn}
{BEGIN Proposed_Solution_Details_fieldfootercolumn}
<td>
{BEGIN Proposed_Solution_Details_showtotal}
	<b>
					</b>
{END Proposed_Solution_Details_showtotal}
</td>
{END Proposed_Solution_Details_fieldfootercolumn}
{BEGIN Final_Quote_Remarks_fieldfootercolumn}
<td>
{BEGIN Final_Quote_Remarks_showtotal}
	<b>
					</b>
{END Final_Quote_Remarks_showtotal}
</td>
{END Final_Quote_Remarks_fieldfootercolumn}
{BEGIN Discussion_Highlights_fieldfootercolumn}
<td>
{BEGIN Discussion_Highlights_showtotal}
	<b>
					</b>
{END Discussion_Highlights_showtotal}
</td>
{END Discussion_Highlights_fieldfootercolumn}
{BEGIN WIN___Lost_Analysis_fieldfootercolumn}
<td>
{BEGIN WIN___Lost_Analysis_showtotal}
	<b>
					</b>
{END WIN___Lost_Analysis_showtotal}
</td>
{END WIN___Lost_Analysis_fieldfootercolumn}
{BEGIN Alligned_Vendor_fieldfootercolumn}
<td>
{BEGIN Alligned_Vendor_showtotal}
	<b>
					</b>
{END Alligned_Vendor_showtotal}
</td>
{END Alligned_Vendor_fieldfootercolumn}
</tr>
{END totals_row}
</table>
{END grid_block}
{END page}
{$footer}
{END body}
</body>
</html>