<script>
    window.deleteButtonTrans = '<?php echo e(trans("quickadmin.qa_delete_selected")); ?>';
    window.copyButtonTrans = '<?php echo e(trans("quickadmin.qa_copy")); ?>';
    window.csvButtonTrans = '<?php echo e(trans("quickadmin.qa_csv")); ?>';
    window.excelButtonTrans = '<?php echo e(trans("quickadmin.qa_excel")); ?>';
    window.pdfButtonTrans = '<?php echo e(trans("quickadmin.qa_pdf")); ?>';
    window.printButtonTrans = '<?php echo e(trans("quickadmin.qa_print")); ?>';
    window.colvisButtonTrans = '<?php echo e(trans("quickadmin.qa_colvis")); ?>';
</script>
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="//cdn.datatables.net/1.10.9/js/jquery.dataTables.min.js"></script>
<script src="//cdn.datatables.net/buttons/1.2.4/js/dataTables.buttons.min.js"></script>
<script src="//cdn.datatables.net/buttons/1.2.4/js/buttons.flash.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jszip/2.5.0/jszip.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-maskmoney/3.0.2/jquery.maskMoney.min.js"></script>
<script src="https://cdn.rawgit.com/bpampuch/pdfmake/0.1.18/build/pdfmake.min.js"></script>
<script src="https://cdn.rawgit.com/bpampuch/pdfmake/0.1.18/build/vfs_fonts.js"></script>
<script src="https://cdn.datatables.net/buttons/1.2.4/js/buttons.html5.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.2.4/js/buttons.print.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.2.4/js/buttons.colVis.min.js"></script>
<script src="https://cdn.datatables.net/select/1.2.0/js/dataTables.select.min.js"></script>
<script src="https://code.jquery.com/ui/1.11.3/jquery-ui.min.js"></script>
<script src="<?php echo e(url('adminlte/js')); ?>/bootstrap.min.js"></script>
<script src="<?php echo e(url('adminlte/js')); ?>/select2.full.min.js"></script>
<script src="<?php echo e(url('adminlte/js')); ?>/main.js"></script>

<script src="<?php echo e(url('adminlte/plugins/slimScroll/jquery.slimscroll.min.js')); ?>"></script>
<script src="<?php echo e(url('adminlte/plugins/fastclick/fastclick.js')); ?>"></script>
<script src="<?php echo e(url('adminlte/js/app.min.js')); ?>"></script>
<script>
    window._token = '<?php echo e(csrf_token()); ?>';
</script>
<script>
    $.extend(true, $.fn.dataTable.defaults, {
        "language": {
            "url": "http://cdn.datatables.net/plug-ins/1.10.16/i18n/English.json"
        }
    });

    <?php if(auth()->check()): ?>
    $('#moneyFormat').maskMoney({
        // The symbol to be displayed before the value entered by the user
        prefix:'<?php echo e(auth()->user()->currency->symbol); ?>',
        // The thousands separator
        thousands:'<?php echo e(auth()->user()->currency->money_format_thousands); ?>',
        // The decimal separator
        decimal:'<?php echo e(auth()->user()->currency->money_format_decimal); ?>'
    }); 

    $('#expense, #income').submit(function(){
        var value = $('#moneyFormat').maskMoney('unmasked')[0];
        $('#moneyFormat').val(value);
    });
    <?php endif; ?>
     

</script>

 



<?php echo $__env->yieldContent('javascript'); ?>