<div class="table-responsive">
    <table id="all-application-table" class="display" cellspacing="0" width="100%">            
    </table>
</div>

<script type="text/javascript">
    $(document).ready(function () {
        $("#all-application-table").appTable({
            source: '<?php echo_uri("leaves/all_application_list_data") ?>',
            dateRangeType: "monthly",
            columns: [
                {title: '<?php echo app_lang("applicant") ?>', "class": "w20p all"},
                {title: '<?php echo app_lang("leave_type") ?>'},
                {title: '<?php echo app_lang("date") ?>', "class": "w20p"},
                {title: '<?php echo app_lang("duration") ?>', "class": "w20p"},
                {title: '<?php echo app_lang("status") ?>', "class": "w15p"},
                {title: '<i data-feather="menu" class="icon-16"></i>', "class": "text-center option w100"}
            ],
            printColumns: [0, 1, 2, 3, 4],
            xlsColumns: [0, 1, 2, 3, 4]
        });
    });
</script>

