Ejemplo n.º 1
0
echo $ro4->formatDate($date1) . " - " . $ro4->formatDate($date2);
?>
</h5>

			<div class="col-md-8">
				<table class="table table-hover">
					<thead>
						<tr>
							<th>Patient</th>
							<th>Admitted</th>
							<th>Receivables</th>
						</tr>
					</thead>
					<tbody>
						<?php 
foreach ($ro4->outpatient_discharged_registrationNo() as $registrationNo) {
    ?>
							<?php 
    $phic = round($ro4->inpatient_paymentMode_total_charges($registrationNo, "phic") + $ro4->inpatient_paymentMode_total_inventory($registrationNo, "phic"), 2);
    $patientType = $ro->selectNow("registrationDetails", "type", "registrationNo", $registrationNo);
    ?>
								<?php 
    if ($phic > 0) {
        ?>
									<tr>
										<td>
											<?php 
        $patientNo = $ro->selectNow("registrationDetails", "patientNo", "registrationNo", $registrationNo);
        $lastName = $ro->selectNow("patientRecord", "lastName", "patientNo", $patientNo);
        $firstName = $ro->selectNow("patientRecord", "firstName", "patientNo", $patientNo);
        echo strtoupper($lastName) . ", " . strtoupper($firstName);