<?php
    use \koolreport\widgets\google;
    use \koolreport\datagrid\DataTables;
        use \koolreport\widgets\koolphp\Table;
        use \koolreport\bootstrap3\Theme;

?>
<style>
    @media  print {
      #table1 .break-row td {
        padding: 0 !important;
      }

      * {
            -webkit-print-color-adjust: exact;
      }

 #salesQuarterCustomer th	{
  background-color: #4CAF50;
  color: white;
   border: 1px solid #ddd;
  padding: 8px;
    font-family: Arial, Helvetica, sans-serif;

      }
      #salesQuarterCustomer td	{
         background-color: #ffffff !important;
  border: 1px solid #ddd;
  padding: 8px;
    font-family: Arial, Helvetica, sans-serif;

      }

    }
</style>
<html>
	<head>
		<title>Customer Sales</title>
	</head>
  <body style='margin: 02.in'>
    <header>
        <div style="font-size:10px !important; color:#808080; padding-left:10px; width:575px;">
			<span style='position: relative; top: 10px; float: right'>
				Title: <span class="title"></span> || 
				Page: <span class="pageNumber"></span> || 
				Total pages: <span class="totalPages"></span> || 
				Date: <span class="date"></span>
			</span>
            <!--<span style=''>
				<img src='bar.png' height='20px' style='position:relative; top:5px'/>
				KoolReport 
			</span>-->
			
			<span>APPOINTMENT SCHEDULER REPORT</span>
        </div>
    </header>
    <footer>
		<div style="font-size:10px !important; color:#808080; padding-left:10px; width:575px;">
			<span style='position: relative; top: 10px; float: right'>
				Title: {title} || 
				Page: {pageNumber} || 
				Total pages: {totalPages} || 
				Date: {date}
			</span>
            <span style=''>
				<img src='bar.png' height='20px' style='position:relative; top:5px'/>
				<!--KoolReport -->
			</span>
        </div>
    </footer> 
	<?php 
Table::create(array(
    			'name' => 'salesQuarterCustomer',
            "dataSource" => $this->dataStore('myappts'),

                "columns"=>array(
                    "firstname"=>array(
                    "label"=>"First Name",
                ),
                "lastname"=>array(
                    "label"=>"Last Name",
                ),
                 "phonenumber"=>array(
                    "label"=>"Phone Number",
                ),
                "email"=>array(
                    "label"=>"Email",
                ),
                "notes"=>array(
                    "label"=>"Notes",
                ),
                "status"=>array(
                    "label"=>"Status",
                ),
                "date_sent"=>array(
                    "label"=>"Date Sent",
                ),),
                "cssClass"=>array(
            "table"=>"table table-bordered table-striped"
        ),
        ));
	?>
  </body>
</html>
