Exemple #1
0
				
			</div>

			<div class="col-md-8">
				<table class="table table-hover">
					<thead>
						<tr>
							<th>Patient</th>
							<th>Age</th>
							<th>Senior</th>
							<th>Discount</th>
						</tr>
					</thead>
					<tbody>
						<?php 
foreach ($ro4->laboratory_senior_patient_itemNo() as $itemNo) {
    ?>
							<tr>
								<td>
									<?php 
    $registrationNo = $ro->selectNow('patientCharges', 'registrationNo', 'itemNo', $itemNo);
    $patientNo = $ro->selectNow('registrationDetails', 'patientNo', 'registrationNo', $registrationNo);
    $lastName = $ro->selectNow('patientRecord', 'lastName', 'patientNo', $patientNo);
    $firstName = $ro->selectNow('patientRecord', 'firstName', 'patientNo', $patientNo);
    echo $ro4->formatLetter($lastName) . ", " . $ro4->formatLetter($firstName);
    $patientCount += 1;
    ?>
								</td>
								<td>
									<?php 
    $registrationNo = $ro->selectNow('patientCharges', 'registrationNo', 'itemNo', $itemNo);