<?php

include "../../../myDatabase.php";
include "../../../myDatabase4.php";
$date1 = $_POST['date1'];
$date2 = $_POST['date2'];
$ro = new database();
$ro4 = new database4();
$phicTotal = 0;
$totalPatient = 0;
$ro4->outpatient_discharged($date1, $date2);
?>

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="../../../bootstrap-3.3.6/css/bootstrap.css"></link>
	</head>
	<body>
		<div class="container">
			<h3>Philhealth Receivables</h3>
			<h5>Outpatient</h5>
			<h5><?php 
echo $ro4->formatDate($date1) . " - " . $ro4->formatDate($date2);
?>
</h5>

			<div class="col-md-8">
				<table class="table table-hover">