<?php
$account = $accounts[0];
$accountid = $account['accountid'];
$initial = $account['initial'];
$accountnpwp = $account['accountnpwp'];
$accountname = $account['accountname'];
$parentname = $account['parentname'];
$street_1 = $account['street_1'];
$street_2 = $account['street_2'];
$street_3 = $account['street_3'];
$zonename = $account['zonename'];
$province = $account['province'];
$zip = $account['zip'];
$country = $account['country'];
$email_1 = $account['email_1'];
$email_2 = $account['email_2'];
$phone = $account['phone'];
$fax = $account['fax'];
$createdate = date('d-m-Y', strtotime($account['createdate']));
?>
<div class="modal-header">
	<h4 class="modal-title" id="tooltipmodel">Account 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'>Account ID</div>	<div class='col-9'>: <?=$accountid;?></div>
	</div>
	<div class='row'>
		<div class='col-3'>Account Name</div> <div class='col-9'>: <?=$accountname;?></div>
	</div>
	<div class='row'>
		<div class='col-3'>Initial</div> <div class='col-9'>: <?=$initial;?></div>
	</div>
	<div class='row'>
		<div class='col-3'>Parent Name</div> <div class='col-9'>: <?=$parentname;?></div>
	</div>
	<div class='row'>
		<div class='col-3'>Account NPWP</div> <div class='col-9'>: <?=$accountnpwp;?></div>
	</div>

	<div class='row'>
		<div class='col-3'>Address </div> <div class='col-9'>: <?=$street_1;?></div>
	</div>
	<div class='row'>
		<div class='col-3'></div> <div class='col-9'>  <?=$street_2;?></div>
	</div>
	<div class='row'>
		<div class='col-3'></div> <div class='col-9'>  <?=$street_3;?></div>
	</div>
	<div class='row'>
		<div class='col-3'>City</div> <div class='col-9'>: <?=$zonename;?></div>
	</div>
	<div class='row'>
		<div class='col-3'>Province</div> <div class='col-9'>: <?=str_ireplace("_", " ", $province);?></div>
	</div>
	<div class='row'>
		<div class='col-3'>Zip Code</div> <div class='col-9'>: <?=$zip;?></div>
	</div>
	<div class='row'>
		<div class='col-3'>Country</div> <div class='col-9'>: <?=$country;?></div>
	</div>

	<div class='row'>
		<div class='col-3'>Email 1</div> <div class='col-9'>: <?=$email_1;?></div>
	</div>
	<div class='row'>
		<div class='col-3'>Email 2</div> <div class='col-9'>: <?=$email_2;?></div>
	</div>
	<div class='row'>
		<div class='col-3'>Phone</div> <div class='col-9'>: <?=$phone;?></div>
	</div>
	<div class='row'>
		<div class='col-3'>Fax</div> <div class='col-9'>: <?=$fax;?></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>
