<!--<li class="<?php if ($tab == 'personal-detail') echo "active"; ?>"><a href="<?php echo $this->url() . '/personal-detail/' . $id; ?>">Personal Detail</a></li>
<li class="<?php if ($tab == 'company-detail') echo "active"; ?>"><a href="<?php echo $this->url() . '/company-detail/' . $id; ?>">Company Detail</a></li>
<li class="<?php if ($tab == 'vehicle-detail') echo "active"; ?>"><a href="<?php echo $this->url() . '/vehicle-detail/' . $id; ?>">Vehicle Detail</a></li>
<li class="<?php if ($tab == 'change-password') echo "active"; ?>"><a href="<?php echo $this->url() . '/change-password/' . $id; ?>">Change Password</a></li>
<li class="<?php if ($tab == 'bank-detail') echo "active"; ?>"><a href="<?php echo $this->url() . '/bank-detail/' . $id; ?>">Bank Detail</a></li>
<li class="<?php if ($tab == 'credit-request') echo "active"; ?>"><a href="<?php echo $this->url() . '/credit-request/' . $id; ?>">Credit Request</a></li>
<li class="<?php if ($tab == 'duty-detail') echo "active"; ?>"><a href="<?php echo $this->url() . '/duty-detail/' . $id; ?>">Duty/Payment Details</a></li>
<li class="<?php if ($tab == 'license-detail') echo "active"; ?>"><a href="<?php echo $this->url() . '/license-detail/' . $id; ?>">License Details</a></li>
<li class="<?php if ($tab == 'other-detail') echo "active"; ?>"><a href="<?php echo $this->url() . '/other-detail/' . $id; ?>">Other Details</a></li>
<li class="<?php if ($tab == 'sms-detail') echo "active"; ?>"><a href="<?php echo $this->url() . '/sms-detail/' . $id; ?>"><span style="color: red;">SMSes</span></a></li>
<li class="<?php if ($tab == 'email-detail') echo "active"; ?>"><a href="<?php echo $this->url() . '/email-detail/' . $id; ?>"><span style="color: red;">Emails</span></a></li>
<li class="<?php if ($tab == 'status-history') echo "active"; ?>"><a href="<?php echo $this->url() . '/status-history/' . $id; ?>"><span style="color: red;">Status History</span></a></li>
<li class="<?php if ($tab == 'allocation-history') echo "active"; ?>"><a href="<?php echo $this->url() . '/allocation-history/' . $id; ?>"><span style="color: red;">Allocation History</span></a></li>
<li class="<?php if ($tab == 'booking-history') echo "active"; ?>"><a href="<?php echo $this->url() . '/booking-history/' . $id; ?>"><span style="color: red;">Booking History</span></a></li>
<li class="<?php if ($tab == 'driver-ledger') echo "active"; ?>"><a href="<?php echo $this->url() . '/driver-ledger/' . $id; ?>"><span style="color: red;">Driver Ledger</span></a></li>
<li class="<?php if ($tab == 'payment-history') echo "active"; ?>"><a href="<?php echo $this->url() . '/payment-history/' . $id; ?>"><span style="color: red;">Payment History</span></a></li>
<li class="<?php if ($tab == 'status') echo "active"; ?>"><a href="<?php echo $this->url() . '/status/' . $id; ?>"><span style="color: red;">Status</span></a></li>-->


<li class="<?php if ($tab == 'personal-detail') echo "active"; ?>"><a href="<?php echo $this->url() . '/personal-detail/' . $id; ?>">Personal Detail</a></li>
<li class="<?php if ($tab == 'change-password') echo "active"; ?>"><a href="<?php echo $this->url() . '/change-password/' . $id; ?>">Change Password</a></li>
<?php if($userTypeId==3 || $userTypeId==4 || $userTypeId==5 || $userTypeId==6 || $userTypeId==7){ ?>
<li class="<?php if ($tab == 'company-detail') echo "active"; ?>"><a href="<?php echo $this->url() . '/company-detail/' . $id; ?>">Company Detail</a></li>
<?php } if($userTypeId==3 || $userTypeId==4 || $userTypeId==5) { ?>
<li class="<?php if ($tab == 'vehicle-detail') echo "active"; ?>"><a href="<?php echo $this->url() . '/vehicle-detail/' . $id; ?>">Vehicle Detail</a></li>
<li class="<?php if ($tab == 'bank-detail') echo "active"; ?>"><a href="<?php echo $this->url() . '/bank-detail/' . $id; ?>">Bank Detail</a></li>
<li class="<?php if ($tab == 'credit-request') echo "active"; ?>"><a href="<?php echo $this->url() . '/credit-request/' . $id; ?>">Payment Upload</a></li>
<li class="<?php if ($tab == 'duty-detail') echo "active"; ?>"><a href="<?php echo $this->url() . '/duty-detail/' . $id; ?>">Duty/Payment Details</a></li>
<li class="<?php if ($tab == 'license-detail') echo "active"; ?>"><a href="<?php echo $this->url() . '/license-detail/' . $id; ?>">License Details</a></li>
<li class="<?php if ($tab == 'other-detail') echo "active"; ?>"><a href="<?php echo $this->url() . '/other-detail/' . $id; ?>">Other Details</a></li>
<li class="<?php if ($tab == 'sms-detail') echo "active"; ?>"><a href="<?php echo $this->url() . '/sms-detail/' . $id; ?>"><span style="color: red;">SMSes</span></a></li>
<li class="<?php if ($tab == 'email-detail') echo "active"; ?>"><a href="<?php echo $this->url() . '/email-detail/' . $id; ?>"><span style="color: red;">Emails</span></a></li>
<li class="<?php if ($tab == 'status-history') echo "active"; ?>"><a href="<?php echo $this->url() . '/status-history/' . $id; ?>"><span style="color: red;">Status History</span></a></li>
<li class="<?php if ($tab == 'allocation-history') echo "active"; ?>"><a href="<?php echo $this->url() . '/allocation-history/' . $id; ?>"><span style="color: red;">Allocation History</span></a></li>
<li class="<?php if ($tab == 'booking-history') echo "active"; ?>"><a href="<?php echo $this->url() . '/booking-history/' . $id; ?>"><span style="color: red;">Booking History</span></a></li>
<li class="<?php if ($tab == 'driver-ledger') echo "active"; ?>"><a href="<?php echo $this->url() . '/driver-ledger/' . $id; ?>"><span style="color: red;">Driver Ledger</span></a></li>
<li class="<?php if ($tab == 'payment-history') echo "active"; ?>"><a href="<?php echo $this->url() . '/payment-history/' . $id; ?>"><span style="color: red;">Payment History</span></a></li>
<li class="<?php if ($tab == 'status') echo "active"; ?>"><a href="<?php echo $this->url() . '/status/' . $id; ?>"><span style="color: red;">Status</span></a></li>
    <?php } ?>

