<header class="container">
	<div class="row">
		<div class="col-xs-12">
			<table class="company">
				<tr>
					<td class="divider">
						<span><img class="image-responsive" src="<?php echo base_url('assets/images/logo/pc.png'); ?>" alt="" style="height: 150px; width: 150px;"></span>
					</td>
					<td class="details">
						<h1>Company : </h1>
						<span><large><?php echo $customer['name']; ?></large></span>
						<span><small><i><?php echo $customer['profile']; ?></i></small></span>
						<hr class="my-4">
					</td>
					<td class="divider">
					</td>
				</tr>
			</table>
		</div>
	</div>
	<div class="row">
		<div class="col-xs-12">
			<table class="company">
				<tr>
					<td class="details">
						<span><label for="inputEmail3" class="col-form-label-sm"><b>ROC No.</b></label></span>
						<span><?php echo $customer['roc_no']; ?></span><br>
						<span><label for="inputEmail3" class="col-form-label-sm"><b>Type</b></label></span>
						<span><?php echo $customer['type']; ?></span><br>
						<span><label for="inputEmail3" class="col-form-label-sm"><b>Master Company</b></label></span>
						<span><?php if($customer['master'] == 0){ echo "NO"; }else{ echo "YES"; }; ?></span><br>
						<span><label for="inputEmail3" class="col-form-label-sm"><b>Address</b></label></span>
						<span><?php echo $customer['address1']; ?>,<br>
						<?php echo $customer['address2']; ?>,<br>
						<?php echo $customer['postcode']; ?>
						<?php echo $customer['city']; ?>,<br>
						<?php echo $customer['state']; ?>,
						<?php echo $customer['country']; ?></span><br>
						<span><label for="inputEmail3" class="col-form-label-sm"><b>Email</b></label></span>
						<span><?php echo $customer['email']; ?></span><br>
						<span><label for="inputEmail3" class="col-form-label-sm"><b>Grade</b></label></span>
						<span><?php echo $customer['grade']; ?></span><br>
						<span><label for="inputEmail3" class="col-form-label-sm"><b>Incorporate Date</b></label></span>
						<span><?php if($customer['incorporate_date'] == "0000-00-00"){ echo "-"; } else { echo date('d-m-Y',strtotime($customer['incorporate_date']));} ; ?></span><br>
					</td>
					<td class="details">
						<span><label for="inputEmail3" class="col-form-label-sm"><b>Group</b></label></span>
						<span><?php if($group) { foreach($group as $group) {
								if($customer['master'] == 0){
									echo $customer['groupName'] . '<br>'; 
								} else { 
									echo $group['name'] . '<br>';
								}
							} } else { echo $customer['groupName'] . '<br>';}; ?></span><br>
						<span><label for="inputEmail3" class="col-form-label-sm"><b>Phone</b></label></span>
						<span><?php echo $customer['phone']; ?></span><br>
						<span><label for="inputEmail3" class="col-form-label-sm"><b>Fax</b></label></span>
						<span><?php echo $customer['fax']; ?></span><br>
						<span><label for="inputEmail3" class="col-form-label-sm"><b>Website</b></label></span>
						<span><?php echo $customer['website']; ?></span><br>
						<span><label for="inputEmail3" class="col-form-label-sm"><b>Status</b></label></span>
						<span><?php echo $customer['status']; ?></span><br>
						<span><label for="inputEmail3" class="col-form-label-sm"><b>Year End</b></label></span>
						<span><?php echo $customer['month']; ?></span><br>
					</td>
				</tr>
			</table>
		</div>
	</div>
	<div class="row">
		<div class="col-xs-12">
			<table class="company">
				<tr>
					<td class="divider">
					</td>
					<td class="details">
						<hr class="my-4">
						
					</td>
					<td class="divider">
					</td>
				</tr>
			</table>
		</div>
	</div>
</header>
<p class="break">

<style>
p.break { page-break-after: always; }
</style>