<?php $this->load->view('settings/partials/header') ?>
<div class="window-content">
    <div class="page-loader" style="display: none;"></div>
    <div class="pane-group">
        <?php $this->load->view('settings/partials/sidebar') ?>
        <div class="pane content-configuration">
            <div class="caption">
                <?php $this->load->view('employee/nav') ?>
            </div>
            <table class="text-center report-table">
                <tr>
                    <td style="width: 50%" class="text-right">ID&nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo $thisEmployee['id'] ?></td>
                </tr>
                <tr>
                    <td style="width: 50%" class="text-right">First Name&nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo $thisEmployee['first_name'] ?></td>
                </tr>
                <tr>
                    <td style="width: 50%" class="text-right">Last Name &nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo $thisEmployee['last_name'] ?></td>
                </tr>
                <tr>
                    <td style="width: 50%" class="text-right">Gender &nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo $thisEmployee['gender'] ?></td>
                </tr>
                <tr>
                    <td style="width: 50%" class="text-right">Photo &nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;
                        <?php if (trim($thisEmployee['photo'])): ?>
                            <img src="<?php echo EPOS_UPLOAD_PATH . $thisEmployee['photo'] ?>">
                        <?php else: ?>
                            <img src="<?php echo $thisEmployee['gender'] === 'male' ? EPOS_RESOURCES_PATH . 'images/user-male.png' : POS_RESOURCES_PATH . 'images/user-female.png' ?>">
                        <?php endif; ?>
                    </td>
                </tr>
                <tr>
                    <td style="width: 50%" class="text-right">Date of birth&nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo $thisEmployee['dob'] ?></td>
                </tr>
                <tr>
                    <td style="width: 50%" class="text-right">National ID Number &nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo $thisEmployee['nid'] ?></td>
                </tr>
                <tr>
                    <td style="width: 50%" class="text-right">Email &nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo $thisEmployee['email'] ?></td>
                </tr>
                <tr>
                    <td style="width: 50%" class="text-right">Phone &nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo $thisEmployee['phone'] ?></td>
                </tr>
                <tr>
                    <td style="width: 50%" class="text-right">Mobile &nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo $thisEmployee['mobile'] ?></td>
                </tr>
                <tr>
                    <td style="width: 50%" class="text-right">Street Address &nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo $thisEmployee['street'] ?></td>
                </tr>
                <tr>
                    <td style="width: 50%" class="text-right">Area &nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo $thisEmployee['area'] ?></td>
                </tr>
                <tr>
                    <td style="width: 50%" class="text-right">City &nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo $thisEmployee['city'] ?></td>
                </tr>
                <tr>
                    <td style="width: 50%" class="text-right">Region &nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo $thisEmployee['region'] ?></td>
                </tr>
                <tr>
                    <td style="width: 50%" class="text-right">Country &nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo $thisEmployee['country'] ?></td>
                </tr>
                <tr>
                    <td style="width: 50%" class="text-right">Joining Date &nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo $thisEmployee['join_date'] ?></td>
                </tr>
                <tr>
                    <td style="width: 50%" class="text-right">Post &nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo $thisEmployee['post'] ?></td>
                </tr>
                <tr>
                    <td style="width: 50%" class="text-right">Department &nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo get_title('employeedept', array('id' => $thisEmployee['dept'])) ?></td>
                </tr>
                <tr>
                    <td style="width: 50%" class="text-right">Manager &nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo get_title('employeemanager', array('id' => $thisEmployee['manager'])) ?></td>
                </tr>
                 <tr>
                    <td style="width: 50%" class="text-right">Status &nbsp;&nbsp;</td>
                    <td style="width: 50%" class="text-left">&nbsp;&nbsp;<?php echo $thisEmployee['status']==='3'?'Active':'Suspended' ?></td>
                </tr>
                <tr>
                    <td colspan="2" class="text-center"><button class="btn btn-primary btn-large"><span class="icon icon-print"></span>&nbsp;&nbsp;Print</button></td>
                </tr>
            </table>
        </div>
    </div>
</div>
<?php $this->load->view('settings/partials/footer')?>