<?php
$data = $offices[0];
$offid = $data['offid'];
$offname = $data['offname'];
$offaddress = $data['offaddress'];
$offphone = $data['offphone'];
$createdate = date('d-m-Y', strtotime($data['createdate']));
?>
<div class="modal-header">
	<h4 class="modal-title" id="tooltipmodel">Office Detail</h4>
	<button type="button" class="btn-close" data-bs-dismiss="modal" aria-hidden="true"></button>
</div>
<div class="modal-body">
	<div class='row'>
		<div class='col-3'>Office ID</div> <div class='col-9'>: <?=$offid;?></div>
	</div>
	<div class='row'>
		<div class='col-3'>Office Name</div> <div class='col-9'>: <?=$offname;?></div>
	</div>
	<div class='row'>
		<div class='col-3'>Office Address</div> <div class='col-9'>: <?=$offaddress;?></div>
	</div>
	<div class='row'>
		<div class='col-3'>Office Phone</div> <div class='col-9'>: <?=$offphone;?></div>
	</div>
	<div class='row'>
		<div class='col-3'>Create Date</div> <div class='col-9'>: <?=$createdate;?></div>
	</div>
</div>
<div class="modal-footer">
	<button type="button" class="btn btn-info waves-effect text-white" data-bs-dismiss="modal">Close</button>
</div>

