<?
require_once('functions.php');
require_once('print.php');
require_once('face.php');
$date1=$_REQUEST['date1'];
$date2=$_REQUEST['date2'];
$_SESSION['date1']=$date1;
$_SESSION['date2']=$date2;
$type='BACK OFFICE';
//require_once('cash_s.php');

Permission($_SESSION['department'],$type);
?>
<!DOCTYPE html>
<html dir="ltr" lang="en-US"><head><!-- Created by Artisteer v4.0.0.58475 -->
        <meta charset="utf-8">
        <title>Detailed Sales Report</title>
        <!--<meta name="viewport" content="initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width">-->
        <meta name="HandheldFriendly" content="True"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
        <meta name="HandheldFriendly" content="true" />
        <meta name="MobileOptimized" content="true" />

        <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
        <link rel="stylesheet" href="style.css" media="screen">
        <!--[if lte IE 7]><link rel="stylesheet" href="style.ie7.css" media="screen" /><![endif]-->
        <link rel="stylesheet" href="style.responsive.css" media="all">


        <script src="jquery.js"></script>
        <script src="script.js"></script>
        <script src="script.responsive.js"></script>
        <meta name="description" content="NEURO DATA">
        <meta name="keywords" content="EZ-SACCO">
 <nav class="art-nav clearfix">
                <?php headermenu($_SESSION['department'],'BACK OFFICE'); ?> 
          </nav><div><br /><a href="mail.php"><input type="image" width="60" height="50" value=<img src="pdf.png"/></a></div>
			
			<div id="layer2" style="margin-right:1000px;">
<form name="export" action="export.php" method="post">
  
    <input type="hidden" value="<? echo $csv_hdr; ?>" name="csv_hdr">
    <input type="hidden" value="<? echo $csv_output; ?>" name="csv_output">
	<input type="hidden" value="<? echo $date2; ?>" name="date2">
	<input type="hidden" value="<? echo $date1; ?>" name="date1">
	<input type="hidden" value="<? echo $id; ?>" name="id">
</form></div></center>
<div id="printMe"><?
transc($date1,$date2);

?>