session_start();
?>
 

  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
    <h4 class="modal-title" id="myModalLabel">Report</h4>
  </div>
  <div class="modal-body">	
    <h4 class="text-center">Click the button below to generate the daily sales report and inventory system</h4>
  </div>
       <?php 
$pdf = new Pdf();
$pdf->AddPage();
$pdf->SetFont('Arial', '', 12);
$pdf->SetY(40);
$pdf->SetFont('Arial', '');
$pdf->SetY(60);
$pdf->MultiCell(0, 15, "Cashier: " . $data->get_fullname($_SESSION['id']));
$pdf->MultiCell(0, 15, "Date: " . date('F j,Y'));
$pdf->MultiCell(0, 15, "Shift: " . $_SESSION['shift']);
$y_axis_initial = 110;
$pdf->SetY($y_axis_initial);
$pdf->SetX(45);
//print column titles
$pdf->SetFillColor(252, 124, 5);
$pdf->SetLineWidth(1);
$pdf->SetFont('Arial', '', 11);
$pdf->Cell(265, 16, 'Item Name', 1, 0, 'C', 1);
$pdf->Cell(60, 16, 'Beg. In.', 1, 0, 'C', 1);
$pdf->Cell(50, 16, 'Add. In.', 1, 0, 'C', 1);