<style type="text/css">
	.report-font{
		font-size: 12pt;
	}

	.horizontal-line{
		width: 100%;
    	border-top: 4px solid #444;
    	margin: 10px 0 0;
	}
	
	.h-line{
		width: 100%;
    	border-top: 4px solid #444;
    	margin: 10px 0 0;
	}

	@media print{
		.horizontal-line{
    	page-break-after: always;
		}
	}

	@page {
       @bottom-left {
            content: counter(page) "/" counter(pages);
        }
     }

</style>
<header>
	<div class="row">
		<div class="col-12">
			<div class="t-corp pull-left">
				<div class="t-corp-logo">
					<img src="<?php echo base_url().'assets/images/logo/salihin-logo.png'; ?>" alt="company logo" />
				</div>
				<div class="t-corp-name"><b>SPS</b> | HR SYSTEM</div>
			</div>
			<div class="report-title pull-right">
				<h4> STAFF INFORMATION AS AT <?php echo $date ?></h4>
			</div>
		</div>
	</div>
	<div class="row">
		<div class="col-12">
			<table class="company">
				<tr>
					<td class="divider">
						<span class="line">&nbsp;</span>
					</td>
					<td class="details">
						<span><b>SALIHIN (AF 1426)</b></span>
						<span>555, Jalan Samudra Utara 1, Taman Samudra, Batu Caves,</span>
						<span>68100, Batu Caves, Selangor</span>
						<span>Phone: 03-6185 9970 &nbsp;&nbsp; Fax: 03-6185 9970</span>
						<span>Website: salihin.com.my</span>
					</td>
					<td class="divider">
						<span class="line">&nbsp;</span>
					</td>
				</tr>
			</table>
		</div>
	</div>
</header>

<div class="container">
    <h4>WORKING EXPERIENCE</h4>
    <table class="table table-bordered">
        <thead>
            <tr>
                <th>CUSTOMER NAME</th>
                <th>SERVICES</th>
                <th>TYPE OF JOB</th>
                <th>CATEGORY</th>
                <th>YEAR</th>
                <th>DESCRIPTION</th>
            </tr>
        </thead>
        <tbody>
        <?php if($professional_experiencemgs) foreach ($professional_experiencemgs as $key => $row): ?>
			<tr>
				<td><?php echo $row['customerName']; ?></td>
				<td><?php echo $row['service']; ?></td>
				<td><?php echo $row['type_job']; ?></td>
				<td><?php echo ($row['is_internal']==1)?'Internal':'External'; ?></td>
				<td><?php echo $row['year_join']; ?></td>
				<td style="white-space: pre-line"><?php echo $row['description']; ?></td>
			</tr>
		<?php endforeach ?>
        </tbody>
    </table>
</div>

