<?php 
//check if current user role is allowed access to the pages
$can_add = ACL::is_allowed("user_profile_values/add");
$can_edit = ACL::is_allowed("user_profile_values/edit");
$can_view = ACL::is_allowed("user_profile_values/view");
$can_delete = ACL::is_allowed("user_profile_values/delete");
?>
<?php
$comp_model = new SharedController;
$page_element_id = "view-page-" . random_str();
$current_page = $this->set_current_page_link();
$csrf_token = Csrf::$token;
//Page Data Information from Controller
$data = $this->view_data;
//$rec_id = $data['__tableprimarykey'];
$page_id = $this->route->page_id; //Page id from url
$view_title = $this->view_title;
$show_header = $this->show_header;
$show_edit_btn = $this->show_edit_btn;
$show_delete_btn = $this->show_delete_btn;
$show_export_btn = $this->show_export_btn;
?>
<section class="page" id="<?php echo $page_element_id; ?>" data-page-type="view"  data-display-type="table" data-page-url="<?php print_link($current_page); ?>">
    <?php
    if( $show_header == true ){
    ?>
    <div  class="bg-light p-3 mb-3">
        <div class="container">
            <div class="row ">
                <div class="col ">
                    <h4 class="record-title">View  User Profile Values</h4>
                </div>
            </div>
        </div>
    </div>
    <?php
    }
    ?>
    <div  class="">
        <div class="container">
            <div class="row ">
                <div class="col-md-12 comp-grid">
                    <?php $this :: display_page_errors(); ?>
                    <div  class="card animated fadeIn page-content">
                        <?php
                        $counter = 0;
                        if(!empty($data)){
                        $rec_id = (!empty($data['id']) ? urlencode($data['id']) : null);
                        $counter++;
                        ?>
                        <div id="page-report-body" class="">
                            <table class="table table-hover table-borderless table-striped">
                                <!-- Table Body Start -->
                                <tbody class="page-data" id="page-data-<?php echo $page_element_id; ?>">
                                    <tr  class="td-id">
                                        <th class="title"> Id: </th>
                                        <td class="value"> <?php echo $data['id']; ?></td>
                                    </tr>
                                    <tr  class="td-user_id">
                                        <th class="title"> User Id: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-source='<?php print_link('api/json/user_profile_values_user_id_option_list'); ?>' 
                                                data-value="<?php echo $data['user_id']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="user_id" 
                                                data-title="Select a value ..." 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="selectize" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable selectize" <?php } ?>>
                                                <?php echo $data['user_id']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-name_of_emp">
                                        <th class="title"> Name Of Emp: </th>
                                        <td class="value"> <?php echo $data['name_of_emp']; ?></td>
                                    </tr>
                                    <tr  class="td-basic_pay">
                                        <th class="title"> Basic Pay: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['basic_pay']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="basic_pay" 
                                                data-title="Enter Basic Pay" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['basic_pay']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-da">
                                        <th class="title"> Da: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['da']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="da" 
                                                data-title="Enter DA %" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['da']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-hra">
                                        <th class="title"> Hra: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['hra']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="hra" 
                                                data-title="Enter HRA %" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['hra']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-ta_vahtuk_bhatta">
                                        <th class="title"> Ta Vahtuk Bhatta: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['ta_vahtuk_bhatta']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="ta_vahtuk_bhatta" 
                                                data-title="Enter TA- Vahtuk Bhatta" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['ta_vahtuk_bhatta']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-washing">
                                        <th class="title"> Washing: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['washing']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="washing" 
                                                data-title="Enter Washing Dhulai" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['washing']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-incentive_allowance">
                                        <th class="title"> Incentive Allowance: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['incentive_allowance']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="incentive_allowance" 
                                                data-title="Enter Incentive Allowance" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['incentive_allowance']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-festive_advance">
                                        <th class="title"> Festive Advance: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['festive_advance']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="festive_advance" 
                                                data-title="Enter Festive Advance" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['festive_advance']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-quarter_rent">
                                        <th class="title"> Quarter Rent: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['quarter_rent']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="quarter_rent" 
                                                data-title="Enter Quarter Rent" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['quarter_rent']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-petrol_allowance">
                                        <th class="title"> Petrol Allowance: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['petrol_allowance']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="petrol_allowance" 
                                                data-title="Enter Petrol Allowance" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['petrol_allowance']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-dcps">
                                        <th class="title"> Dcps: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['dcps']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="dcps" 
                                                data-title="Enter Dcps" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['dcps']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-epf">
                                        <th class="title"> Epf: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['epf']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="epf" 
                                                data-title="Enter Epf" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['epf']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-allowance_others">
                                        <th class="title"> Allowance Others: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['allowance_others']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="allowance_others" 
                                                data-title="Enter Allowance Others" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['allowance_others']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-pt">
                                        <th class="title"> Pt: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['pt']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="pt" 
                                                data-title="Enter Pt" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['pt']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-dcps_14_mc">
                                        <th class="title"> Dcps 14 Mc: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['dcps_14_mc']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="dcps_14_mc" 
                                                data-title="Enter Dcps 14 Mc" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['dcps_14_mc']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-dcps_10_own">
                                        <th class="title"> Dcps 10 Own: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['dcps_10_own']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="dcps_10_own" 
                                                data-title="Enter Dcps 10 Own" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['dcps_10_own']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-epf_12_mc">
                                        <th class="title"> Epf 12 Mc: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['epf_12_mc']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="epf_12_mc" 
                                                data-title="Enter Epf 12 Mc" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['epf_12_mc']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-eps_12_own">
                                        <th class="title"> Eps 12 Own: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['eps_12_own']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="eps_12_own" 
                                                data-title="Enter Eps 12 Own" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['eps_12_own']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-gpf_b_n_n_vargani">
                                        <th class="title"> Gpf B N N Vargani: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['gpf_b_n_n_vargani']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="gpf_b_n_n_vargani" 
                                                data-title="Enter Gpf B N N Vargani" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['gpf_b_n_n_vargani']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-gpf_b_n_n_hafta">
                                        <th class="title"> Gpf B N N Hafta: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['gpf_b_n_n_hafta']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="gpf_b_n_n_hafta" 
                                                data-title="Enter Gpf B N N Hafta" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['gpf_b_n_n_hafta']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-lic">
                                        <th class="title"> Lic: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['lic']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="lic" 
                                                data-title="Enter Lic" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['lic']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-mediclaim">
                                        <th class="title"> Mediclaim: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['mediclaim']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="mediclaim" 
                                                data-title="Enter Mediclaim" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['mediclaim']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-accidental_insurance">
                                        <th class="title"> Accidental Insurance: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['accidental_insurance']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="accidental_insurance" 
                                                data-title="Enter Accidental Insurance" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['accidental_insurance']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-group_insurance">
                                        <th class="title"> Group Insurance: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['group_insurance']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="group_insurance" 
                                                data-title="Enter Group Insurance" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['group_insurance']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-income_tax">
                                        <th class="title"> Income Tax: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['income_tax']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="income_tax" 
                                                data-title="Enter Income Tax" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['income_tax']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-festival_adv_installment">
                                        <th class="title"> Festival Adv Installment: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['festival_adv_installment']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="festival_adv_installment" 
                                                data-title="Enter Festival Adv Installment" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['festival_adv_installment']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-court_fee">
                                        <th class="title"> Court Fee: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['court_fee']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="court_fee" 
                                                data-title="Enter Court Fee" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['court_fee']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-soc_1">
                                        <th class="title"> Soc 1: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['soc_1']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="soc_1" 
                                                data-title="Enter Soc 1" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['soc_1']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-soc_2">
                                        <th class="title"> Soc 2: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['soc_2']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="soc_2" 
                                                data-title="Enter Soc 2" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['soc_2']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-soc_3">
                                        <th class="title"> Soc 3: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['soc_3']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="soc_3" 
                                                data-title="Enter Soc 3" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['soc_3']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-bank_1">
                                        <th class="title"> Bank 1: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['bank_1']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="bank_1" 
                                                data-title="Enter Bank 1" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['bank_1']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-bank_2">
                                        <th class="title"> Bank 2: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['bank_2']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="bank_2" 
                                                data-title="Enter Bank 2" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['bank_2']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-bank_3">
                                        <th class="title"> Bank 3: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['bank_3']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="bank_3" 
                                                data-title="Enter Bank 3" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['bank_3']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-deductions_other">
                                        <th class="title"> Deductions Other: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-step="0.01" 
                                                data-value="<?php echo $data['deductions_other']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="deductions_other" 
                                                data-title="Enter Deductions Other" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="number" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['deductions_other']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-timestamp">
                                        <th class="title"> Timestamp: </th>
                                        <td class="value"> <?php echo $data['timestamp']; ?></td>
                                    </tr>
                                    <tr  class="td-admin_id">
                                        <th class="title"> Admin Id: </th>
                                        <td class="value">
                                            <span <?php if($can_edit){ ?> data-value="<?php echo $data['admin_id']; ?>" 
                                                data-pk="<?php echo $data['id'] ?>" 
                                                data-url="<?php print_link("user_profile_values/editfield/" . urlencode($data['id'])); ?>" 
                                                data-name="admin_id" 
                                                data-title="Enter Admin Id" 
                                                data-placement="left" 
                                                data-toggle="click" 
                                                data-type="text" 
                                                data-mode="popover" 
                                                data-showbuttons="left" 
                                                class="is-editable" <?php } ?>>
                                                <?php echo $data['admin_id']; ?> 
                                            </span>
                                        </td>
                                    </tr>
                                    <tr  class="td-user_info_id">
                                        <th class="title"> User Info Id: </th>
                                        <td class="value"> <?php echo $data['user_info_id']; ?></td>
                                    </tr>
                                    <tr  class="td-user_info_username">
                                        <th class="title"> User Info Username: </th>
                                        <td class="value"> <?php echo $data['user_info_username']; ?></td>
                                    </tr>
                                    <tr  class="td-user_info_password">
                                        <th class="title"> User Info Password: </th>
                                        <td class="value"> <?php echo $data['user_info_password']; ?></td>
                                    </tr>
                                    <tr  class="td-user_info_email">
                                        <th class="title"> User Info Email: </th>
                                        <td class="value"> <?php echo $data['user_info_email']; ?></td>
                                    </tr>
                                    <tr  class="td-user_info_user_full_name">
                                        <th class="title"> User Info User Full Name: </th>
                                        <td class="value"> <?php echo $data['user_info_user_full_name']; ?></td>
                                    </tr>
                                    <tr  class="td-user_info_user_profile_values">
                                        <th class="title"> User Info User Profile Values: </th>
                                        <td class="value"> <?php echo $data['user_info_user_profile_values']; ?></td>
                                    </tr>
                                    <tr  class="td-user_info_user_role_id">
                                        <th class="title"> User Info User Role Id: </th>
                                        <td class="value"> <?php echo $data['user_info_user_role_id']; ?></td>
                                    </tr>
                                </tbody>
                                <!-- Table Body End -->
                            </table>
                        </div>
                        <div class="p-3 d-flex">
                            <div class="dropup export-btn-holder mx-1">
                                <button class="btn btn-sm btn-primary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                    <i class="fa fa-save"></i> Export
                                </button>
                                <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
                                    <?php $export_print_link = $this->set_current_page_link(array('format' => 'print')); ?>
                                    <a class="dropdown-item export-link-btn" data-format="print" href="<?php print_link($export_print_link); ?>" target="_blank">
                                        <img src="<?php print_link('assets/images/print.png') ?>" class="mr-2" /> PRINT
                                        </a>
                                        <?php $export_pdf_link = $this->set_current_page_link(array('format' => 'pdf')); ?>
                                        <a class="dropdown-item export-link-btn" data-format="pdf" href="<?php print_link($export_pdf_link); ?>" target="_blank">
                                            <img src="<?php print_link('assets/images/pdf.png') ?>" class="mr-2" /> PDF
                                            </a>
                                            <?php $export_word_link = $this->set_current_page_link(array('format' => 'word')); ?>
                                            <a class="dropdown-item export-link-btn" data-format="word" href="<?php print_link($export_word_link); ?>" target="_blank">
                                                <img src="<?php print_link('assets/images/doc.png') ?>" class="mr-2" /> WORD
                                                </a>
                                                <?php $export_csv_link = $this->set_current_page_link(array('format' => 'csv')); ?>
                                                <a class="dropdown-item export-link-btn" data-format="csv" href="<?php print_link($export_csv_link); ?>" target="_blank">
                                                    <img src="<?php print_link('assets/images/csv.png') ?>" class="mr-2" /> CSV
                                                    </a>
                                                    <?php $export_excel_link = $this->set_current_page_link(array('format' => 'excel')); ?>
                                                    <a class="dropdown-item export-link-btn" data-format="excel" href="<?php print_link($export_excel_link); ?>" target="_blank">
                                                        <img src="<?php print_link('assets/images/xsl.png') ?>" class="mr-2" /> EXCEL
                                                        </a>
                                                    </div>
                                                </div>
                                            </div>
                                            <?php
                                            }
                                            else{
                                            ?>
                                            <!-- Empty Record Message -->
                                            <div class="text-muted p-3">
                                                <i class="fa fa-ban"></i> No Record Found
                                            </div>
                                            <?php
                                            }
                                            ?>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </section>
