<div class="ibox-title">
	<h5 id="sub_title"></h5>
	<div class="ibox-tools">
		<?php
		$hidden = false;
		if (($head_row['tranStatus'] >= 3) || ($head_row['tranStatus'] <= -1)) {
			$hidden = true;
		}
		$hidden2 = false;
		if (($head_row['tranStatus'] == 0)) {
			$hidden2 = true;
		} ?>
		<a data-style="zoom-in" type="button" class="<?= $hidden ? 'hidden' : ''; ?> btn btn_modules_1 saveBtn pull-left btn-xs btn-skin btn-primary"><i class="fa fa-save"></i> Save</a>
		<?php if (($head_row['createdBy'] == $this->session->userdata('idOperator')) || ($head_row['itemCategory'] == 'SVC')) { ?>
		<a data-style="zoom-in" type="button" class="<?= $hidden ? 'hidden' : ''; ?> <?= $hidden2 ? 'hidden' : ''; ?> btn btn_modules_2 submitBtn pull-left btn-xs btn-skin btn-primary"><i class="fa fa-check-circle"></i> Submit</a>
		<?php }?>
		<a data-style="zoom-in" type="button" class="btn <?= $hidden2 ? 'hidden' : ''; ?> btn_modules_3 printBtn pull-left btn-xs btn-skin btn-primary"><i class="fa fa-print"></i> Print</a>
		<a data-style="zoom-in" type="button" class="<?= $hidden ? 'hidden' : ''; ?> <?= $hidden2 ? 'hidden' : ''; ?> btn btn_modules_6 cancelBtn pull-left btn-xs btn-danger"><i class="fa fa-times-circle"></i> Cancel</a>
		<a type="button" class="btn backBtn loadingButton pull-right btn-xs btn-skin btn-primary" href="<?= ($this->agent->referrer()); ?>"><i class="fa fa-arrow-circle-left"></i> Back</a>
	</div>
</div>