<!doctype html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- CSRF Token -->
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
    <!-- Scripts -->
    <link rel="icon" href="<?php echo e(asset('/images/logo.png')); ?>">
    <!-- Fonts -->
    <link rel="dns-prefetch" href="//fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
    <link href="<?php echo e(asset('css/fontsawesome/all.css')); ?>" rel="stylesheet">
    <link href="<?php echo e(mix('css/app.css')); ?>" rel="stylesheet">
</head>

<body style="visibility: hidden">
    <div id="app">
        <app></app>
    </div>
    <script src="<?php echo e(mix('js/app.js')); ?>" type="text/javascript"></script>
</body>



<script type="text/javascript">
    <?php if(auth()->guard()->check()): ?>
        window.Permissions = <?php echo json_encode(Auth::user()->allPermissions, true); ?>;
    <?php else: ?>
        window.Permissions = [];
    <?php endif; ?>

    $(document).on('keypress', '.number-only', function(e) {
        if (isNaN(this.value + "" + String.fromCharCode(e.charCode))) return false;
    });
    $(document).on('keydown', '.dis-space', function(e) {
        if (e.keyCode == 32) return false;
    });
    $(document).on('keypress', '.digitsOnly',function(e){
        if(e.which !=8 && e.which !=47 && isNaN(String.fromCharCode(e.which))){
            e.preventDefault();
        }
    });
    $(document).ready(function(){
        function greet(){
            $("body").css("visibility",'visible');
        }
        setTimeout(greet, 300);

        $(".btn_collapse_toggle").click(function(){
            $(this).find('.collapse_toggle').toggleClass('hide_cn');
        });

        $(document).on('keypress', '.text_search',function(e){
            $(this).closest('.cus_select').find('.list').addClass('show');
        });
        $(document).click(function (event) {
            if (!$(event.target).closest('.text_search').length) {
                $('.cus_select').find('.list').removeClass('show');
            }
        });
        $(document).on('keypress keyup blur','.numericOnly',function(event){
            $(this).val($(this).val().replace(/[^0-9\.]/g,''));
            if ((event.which != 46 || $(this).val().indexOf('.') != -1) && (event.which < 48 || event.which > 57)) {
                event.preventDefault();
            }
        });
       /* $(document).on('click','.view-pdf',function(){
            var src = $(this).data('pdf');
            $('.pdf-preview').children('iframe').attr('src', src);
            window.open(src, '_blank');
        });*/


    });

</script>

<script>

    document.onkeydown = function (e) {
        if (event.keyCode == 123) {
            return false;
        }
        if (e.ctrlKey && e.shiftKey && (e.keyCode == 'I'.charCodeAt(0) || e.keyCode == 'i'.charCodeAt(0))) {
            return false;
        }
        if (e.ctrlKey && e.shiftKey && (e.keyCode == 'C'.charCodeAt(0) || e.keyCode == 'c'.charCodeAt(0))) {
            return false;
        }
        if (e.ctrlKey && e.shiftKey && (e.keyCode == 'J'.charCodeAt(0) || e.keyCode == 'j'.charCodeAt(0))) {
            return false;
        }
        if (e.ctrlKey && (e.keyCode == 'U'.charCodeAt(0) || e.keyCode == 'u'.charCodeAt(0))) {
            return false;
        }
        if (e.ctrlKey && (e.keyCode == 'S'.charCodeAt(0) || e.keyCode == 's'.charCodeAt(0))) {
            return false;
        }
    }
</script>
</html>
<?php /**PATH D:\somnab\0_Loan_Project\som_loan_ktv2\resources\views/layouts/app.blade.php ENDPATH**/ ?>