<?php $__env->startPush('styles'); ?>

<link rel="stylesheet" href="https://cdn.datatables.net/2.1.5/css/dataTables.dataTables.css">

<?php if(app()->getLocale() !=='en'): ?>
<style>

</style>
<?php endif; ?>
<?php $__env->stopPush(); ?>

<?php $__env->startPush('scripts'); ?>

<script src="https://cdn.datatables.net/2.1.5/js/dataTables.js"></script>
<?php
    $language= app()->getLocale();
    $path= asset('json/'.$language.'.json');
?>
<script>
    $('.data-table').DataTable();
    <?php if($language!='en'): ?>
    $.extend(true, $.fn.dataTable.defaults, {
        language: {
            url: "<?php echo e($path); ?>"
        },
    });
    <?php endif; ?>
</script>
<?php $__env->stopPush(); ?><?php /**PATH /var/www/resources/views/layouts/datatable.blade.php ENDPATH**/ ?>