<?php echo message_box('success'); ?>
<?php echo message_box('error');

$edited = can_action('91', 'edited');
$deleted = can_action('91', 'deleted');
?>

<div class="space-y-4">
    <div class="rounded-2xl border border-border bg-card shadow-sm">
        <div class="p-5">
            <table class="table table-striped DataTables" id="DataTables" cellspacing="0" width="100%">
                <thead>
                    <tr>
                        <th class="col-sm-1"><?= lang('emp_id') ?></th>
                        <th><?= lang('name') ?></th>
                        <th><?= lang('salary_type') ?></th>
                        <th><?= lang('basic_salary') ?></th>
                        <th><?= lang('overtime') ?> <small>(<?= lang('per_hour') ?>)</small></th>
                        <?php if (!empty($edited)) { ?>
                        <th><?= lang('action') ?></th>
                        <?php } ?>
                    </tr>
                </thead>
                <tbody>
                    <script type="text/javascript">
                    $(document).ready(function() {
                        list = base_url + "admin/payroll/employee_salaryList";
                    });
                    </script>
                </tbody>
            </table>
        </div>
    </div>
</div>
