<script type="text/javascript">
let table = $('#systemDatatable').DataTable({
    "processing": true,
    "serverSide": true,
    "ajax": {
        "url": "<?php echo e(route('settings.company.dataProcessingCompany')); ?>",
        "dataType": "json",
        "type": "GET",
        "data": {
            "_token": "<?= csrf_token() ?>"
        }
    },
    "columns": [{
            "data": "id",
            "orderable": true
        },
        {
            "data": "company_name",
            "orderable": true
        },
        {
            "data": "logo",
            "orderable": true

        },
        {
            "data": "favicon",
            "orderable": true
        },
        {
            "data": "invoice_logo",
            "orderable": true
        },
         {
            "data": "website",
            "orderable": true
        },
         {
            "data": "phone",
            "orderable": true
        }, 
        {
            "data": "email",
            "orderable": true
        },
         {
            "data": "address",
            "orderable": true
        },
         {
            "data": "task_identification_number",
            "orderable": true
        }, 
        {
            "data": "status",
            "orderable": false,
            "class": 'text-nowrap',
        },
        {
            "data": "action",
            "class": 'text-nowrap',
            "searchable": false,
            "orderable": false
        },
    ],

    "fnDrawCallback": function() {
        $("[name='my-checkbox']").bootstrapSwitch({
            size: "small",
            onColor: "success",
            offColor: "danger"
        });
    },

});


var buttons = new $.fn.dataTable.Buttons(table, {
    buttons: [
        'copyHtml5',
        'excelHtml5',
        'csvHtml5',
        'pdfHtml5',
        'print',
    ]
}).container().appendTo($('#buttons'));
</script><?php /**PATH /home/jubairba/soft.jubairbangladesh.com/resources/views/backend/pages/settings/company/script.blade.php ENDPATH**/ ?>