<!doctype html>
<html lang="en" dir="ltr">
<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()); ?>">

  <title><?php echo e(EF::appSetting()['app_name']); ?> | <?php echo $__env->yieldContent('page_title'); ?></title>




  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <meta http-equiv="Content-Language" content="en" />
  <meta name="msapplication-TileColor" content="#2d89ef">
  <meta name="theme-color" content="#4188c9">
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="mobile-web-app-capable" content="yes">
  <meta name="HandheldFriendly" content="True">
  <meta name="MobileOptimized" content="320">
  <link rel="icon" href="<?php echo e(asset('/graphics/logo/'.EF::appSetting()['first_logo'])); ?>" type="image/x-icon"/>
  <link rel="icon" href="<?php echo e(asset('/graphics/logo/'.EF::appSetting()['first_logo'])); ?>" type="image/x-icon"/>
  <link rel="shortcut icon" type="image/x-icon" href="<?php echo e(asset('/favicon.ico')); ?>" />

  <!-- Fonts -->
  <link rel="dns-prefetch" href="//fonts.gstatic.com">
  <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet" type="text/css">

  <!-- Styles -->
  <link href="<?php echo e(asset('css/app.css')); ?>" rel="stylesheet">




  <!-- Fonts -->
  <link rel="dns-prefetch" href="//fonts.gstatic.com">
  <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet" type="text/css">

  <!-- Styles -->
  <link href="<?php echo e(asset('/css/app.css')); ?>" rel="stylesheet">

  <link href="<?php echo e(asset('/css/custom.css')); ?>" rel="stylesheet">
  <link rel="stylesheet" href="<?php echo e(asset('css/fontawesome_4.7.0.min.css')); ?>"  rel="stylesheet">

  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i,500,500i,600,600i,700,700i&amp;subset=latin-ext">

  <!-- Dashboard Core -->
  <link href="<?php echo e(asset('/assets/css/dashboard.css')); ?>" rel="stylesheet" />
  <!-- c3.js Charts Plugin -->
  <link href="<?php echo e(asset('/assets/plugins/charts-c3/plugin.css')); ?>" rel="stylesheet" />
  <link href="<?php echo e(asset('/plugins/morris.js/morris.css')); ?>" rel="stylesheet" />
  <!-- Google Maps Plugin -->
  <link href="<?php echo e(asset('/assets/plugins/maps-google/plugin.css')); ?>" rel="stylesheet" />
  <!-- Input Mask Plugin -->

  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">


  <link rel="stylesheet" type="text/css" href="<?php echo e(asset('/css/bootstrap4.datatable.min.css')); ?>">

  <link href="<?php echo e(asset('/css/custom.css')); ?>" rel="stylesheet">
  <link href="<?php echo e(asset('/css/toastr.min.css')); ?>" rel="stylesheet">

  <link href="<?php echo e(asset('/plugins/bootstrap-datepicker-1.6.4-dist/css/bootstrap-datepicker.min.css')); ?>" rel="stylesheet">

  <link href="<?php echo e(asset('/plugins/bootstrap-datepicker-1.6.4-dist/css/bootstrap-datepicker.standalone.min.css')); ?>" rel="stylesheet">


  <link href="<?php echo e(asset('/plugins/bootstrap-datepicker-1.6.4-dist/css/bootstrap-datepicker3.min.css')); ?>" rel="stylesheet">


  <link href="<?php echo e(asset('plugins/bootstrap-datepicker-1.6.4-dist/css/bootstrap-datepicker3.standalone.min.css')); ?>" rel="stylesheet">

  <link href="<?php echo e(asset('plugins/fontawesome_picker/dist/css/fontawesome-iconpicker.min.css')); ?>" rel="stylesheet">

  <link href="<?php echo e(asset('/assets/plugins/busy-loader/plugin.css')); ?>" rel="stylesheet">

  <link href="<?php echo e(asset('plugins/search-box/css/search_box.min.css')); ?>" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/3.3.2/select2.css" rel="stylesheet" type="text/css">

  <link href="<?php echo e(asset('css/jquery-multiautocomplete.min.css')); ?>" rel="stylesheet">




  <style type="text/css">
   .no-js #loader { display: none;  }
   .js #loader { display: block; position: absolute; left: 100px; top: 0; }
   .se-pre-con {
    position: fixed;

    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background:  center no-repeat #fff;
  }
  .center-logo {
    margin-top: 23%;
  }


</style>

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

<script type="text/javascript" src="<?php echo e(asset('/js/loadergif.js')); ?>"></script>
<script type="text/javascript" src="<?php echo e(asset('/js/loadergif1.js')); ?>"></script>


<script type="text/javascript">
//paste this code under the head tag or in a separate js file.
  // Wait for window load


   </script>

</head>
<body>
  <div class="se-pre-con ">
      <center>
        <img class="center-logo" src="<?php echo e(url('graphics/loader.gif')); ?>">
        </center>

    </div>
  <div class="page">
    <div class="page-main">
      <!-- TOP HEADER -->
      <div class="header py-4">
        <div class="container">
          <div class="d-flex">
            <a style="color: #E1832C; text-decoration: none; font-weight:bolder;" class="" href="<?php echo e(url('home')); ?>">
             <img src="<?php echo e(asset('/graphics/logo/'.EF::appSetting()['first_logo'])); ?>" class="header-brand-img" alt="<?php echo e(EF::appSetting()['app_name']); ?>"> 
           </a>
            <div class="d-flex order-lg-2 ml-auto">

       
              <div class="dropdown">
                <a href="#" class="nav-link pr-0 leading-none" data-toggle="dropdown">
                  <span class="avatar" style="background-image: url(<?php echo e(EF::getFile(Auth::user()->dp)); ?>);"></span>
                  <span class="ml-2 d-none d-lg-block">
                    <span class="text-default"><?php echo e(Auth::user()->name); ?></span>
                    <small class="text-muted d-block mt-1"><?php echo e(Auth::user()->type); ?></small>
                  </span>
                </a>
                <div class="dropdown-menu dropdown-menu-right dropdown-menu-arrow">
                  <a class="dropdown-item <?php echo e(Request::segment(1) === 'profile' ? 'active' : null); ?>" href="<?php echo e(url('profile')); ?>">
                    <i class="dropdown-icon fa fa-user"></i> Profile
                  </a>

                  <?php if(Auth::user()->type === "Administrator"): ?>
                  <a  class="dropdown-item <?php echo e(Request::segment(1) === 'permission' ? 'active' : null); ?>" href="<?php echo e(url('permission')); ?>">
                    <i class="dropdown-icon fa fa-cogs"></i> Permission
                  </a>
                  <?php endif; ?>



                    <div class="dropdown-divider"></div>
                   <!--  <a class="dropdown-item" href="#">
                      <i class="dropdown-icon fa fa-question"></i> Need help?
                    </a> -->
                    <a class="dropdown-item <?php echo e(Request::segment(1) === 'logout' ? 'active' : null); ?>"  href="<?php echo e(route('logout')); ?>"
                    onclick="event.preventDefault();
                    document.getElementById('logout-form').submit();">
                    <i class="dropdown-icon fa fa-sign-out-alt "></i>    <?php echo e(__('Logout')); ?>

                  </a>

                  <form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST" style="display: none;">
                    <?php echo csrf_field(); ?>
                  </form>

                </div>
              </div>
            </div>
            <a href="#" class="header-toggler d-lg-none ml-3 ml-lg-0" data-toggle="collapse" data-target="#headerMenuCollapse">
              <span class="header-toggler-icon"></span>
            </a>
          </div>
        </div>
      </div>
      <!-- END TOP HEADER -->

      <!-- TOP NAVBAR -->
      <div class="header collapse d-lg-flex p-0" id="headerMenuCollapse">
        <div class="container">
          <div class="row align-items-center">
          <!--   <div class="col-lg-3 ml-auto">

            </div> -->
            <div class="col-lg order-lg-first">

              <ul class="nav nav-tabs border-0 flex-column flex-lg-row">

                <?php ($hasPermission = ['All','Dashboard']); ?>


                <?php if(Auth::user()->hasAnyPermission(['All','Dashboard'])): ?>
                <li class="nav-item">
                  <a href="<?php echo e(url('home')); ?>" class="nav-link <?php echo e(Request::segment(1) === 'home' ? 'active' : null); ?>"><i class="fa fa-home"></i> Dashboard</a>
                </li>
                <?php endif; ?>



                <?php ($hasPermission = ['All','View Branch']); ?>

                <?php if(Auth::user()->hasAnyPermission($hasPermission)): ?>
                <li class="nav-item dropdown">
                  <a href="<?php echo e(url('branch')); ?>" class="nav-link <?php echo e(Request::segment(1) === 'branch' ? 'active' : null); ?>"><i class="fa fa-building"></i><?php echo e(ucwords(EF::branchWhiteLabel()['module'])); ?></a>
                </li>
                <?php endif; ?>

                <?php ($hasPermission = ['All','View Customer','View Employee','View Dealer']); ?>

                <?php if(Auth::user()->hasAnyPermission($hasPermission)): ?>
                <li class="nav-item dropdown">
                  <a href="javascript:void(0)" class="nav-link <?php echo e(Request::segment(1) === 'customers' ? 'active' : null); ?>  <?php echo e(Request::segment(1) === 'employees' ? 'active' : null); ?>  <?php echo e(Request::segment(1) === 'dealers' ? 'active' : null); ?>" data-toggle="dropdown"><i class="fa fa-user"></i> Users</a>
                  <div class="dropdown-menu dropdown-menu-arrow">
                    <?php if(Auth::user()->hasAnyPermission(['All','View Customer'])): ?>
                    <a href="<?php echo e(route('user.customers')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'customers' ? 'active' : null); ?>">Customers</a>
                    <div class="dropdown-divider"></div>
                    <?php endif; ?>


                    <?php if(Auth::user()->hasAnyPermission(['All','View Dealer'])): ?>
                    <a href="<?php echo e(route('user.dealers')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'dealers' ? 'active' : null); ?>"> Dealers</a>
                    <div class="dropdown-divider"></div>
                    <?php endif; ?>

                    <?php if(Auth::user()->hasAnyPermission(['All'])): ?>
                    <a data-toggle="modal" data-target="#user_types" class="dropdown-item <?php echo e(Request::segment(1) === 'usertypes' ? 'active' : null); ?>"> User Types</a>
                    <?php endif; ?>

                  </div>
                </li>
                <?php endif; ?>
                <?php ($hasPermission = ['All','View Inventory']); ?>


                <?php if(Auth::user()->hasAnyPermission($hasPermission)): ?>
                <li class="nav-item dropdown">
                  <a href="<?php echo e(url('plots')); ?>" class="nav-link <?php echo e(Request::segment(1) === 'plots' ? 'active' : null); ?>"><i class="fa fa-globe"></i>

                  <?php ($plot_label = EF::plotWhiteLabel()); ?>

                    <?php if(isset($plot_label['module'])): ?>
                      <?php echo e(ucwords(str_replace('_',' ',$plot_label['module']))); ?>

                    <?php endif; ?>
                  </a>
                </li>
                <?php endif; ?>

                <?php ($hasPermission = ['All','View Booking','View Cancel Requests','View Transfer Booking','View Soft Booking','View Letter','View Blocked Booking']); ?>

                <?php if(Auth::user()->hasAnyPermission($hasPermission)): ?>
                <li class="nav-item dropdown">
                  <a href="javascript:void(0)" class="nav-link <?php echo e(Request::segment(1) === 'transferbooking' ? 'active' : null); ?>  <?php echo e(Request::segment(1) === 'booking' ? 'active' : null); ?>  <?php echo e(Request::segment(1) === 'cancelledbooking' ? 'active' : null); ?>" data-toggle="dropdown"><i class="fa fa-file"></i> Bookings</a>
                  <div class="dropdown-menu dropdown-menu-arrow">
                    <?php if(Auth::user()->hasAnyPermission(['All','View Booking'])): ?>
                    <a href="<?php echo e(url('booking')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'booking' ? 'active' : null); ?>">Manage Bookings</a>
                    <div class="dropdown-divider"></div>
                    <?php endif; ?>


                    <?php if(Auth::user()->hasAnyPermission(['All','View Soft Booking'])): ?>
                    <a href="<?php echo e(url('reservebooking')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'reservebooking' ? 'active' : null); ?>">Soft Bookings</a>
                    <div class="dropdown-divider"></div>
                    <?php endif; ?>

                    <?php if(Auth::user()->hasAnyPermission(['All','View Cancel Requests'])): ?>
                    <a href="<?php echo e(url('cancelledbooking')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'cancelledbooking' ? 'active' : null); ?>">Cancel Bookings</a>
                    <div class="dropdown-divider"></div>
                    <?php endif; ?>

                    <?php if(Auth::user()->hasAnyPermission(['All','View Transfer Booking'])): ?>
                    <a href="<?php echo e(url('transferbooking')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'transferbooking' ? 'active' : null); ?>">Transfer Bookings</a>
                    <div class="dropdown-divider"></div>
                    <?php endif; ?>

                    <?php if(Auth::user()->hasAnyPermission(['All','View Blocked Booking'])): ?>
                    <a href="<?php echo e(url('blockbookings')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'blockbookings' ? 'active' : null); ?>">Blocked Bookings</a>
                    <div class="dropdown-divider"></div>
                    <?php endif; ?>

                    <?php if(Auth::user()->hasAnyPermission(['All','View Letter'])): ?>
                    <a href="<?php echo e(url('letters')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'letters' ? 'active' : null); ?>">Letters</a>
                    <?php endif; ?>

                  </div>

                </li>
                <?php endif; ?>

                <?php ($hasPermission = ['All','View Head','View Voucher','View Bank','View Pending Payment']); ?>

                <?php if(Auth::user()->hasAnyPermission($hasPermission)): ?>
                <li class="nav-item dropdown">
                  <a href="javascript:void(0)" class="nav-link <?php echo e(Request::segment(1) === 'head' ? 'active' : null); ?>  <?php echo e(Request::segment(1) === 'voucher' ? 'active' : null); ?>" data-toggle="dropdown"><i class="fa fa-calculator"></i> Finance</a>
                  <div class="dropdown-menu dropdown-menu-arrow">

                    <?php if(Auth::user()->hasAnyPermission(['All','View Head'])): ?>
                    <a href="<?php echo e(url('head')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'head' ? 'active' : null); ?>">Chart of Accounts</a>
                    <div class="dropdown-divider"></div>
                    <?php endif; ?>

                    <?php if(Auth::user()->hasAnyPermission(['All','View Pending Payment'])): ?>
                    <a href="<?php echo e(url('pendingpayment')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'pendingpayment' ? 'active' : null); ?>">Pending Payments</a>
                    <div class="dropdown-divider"></div>
                    <?php endif; ?>

                    <?php if(Auth::user()->hasAnyPermission(['All','View Voucher'])): ?>
                    <a href="<?php echo e(url('voucher')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'voucher' ? 'active' : null); ?>">Manage Vouchers</a>
                    <div class="dropdown-divider"></div>
                    <?php endif; ?>

                    <?php if(Auth::user()->hasAnyPermission(['All','Reject Voucher'])): ?>
                    <a href="<?php echo e(url('rejectvoucher')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'rejectvoucher' ? 'active' : null); ?>">Reject Vouchers</a>
                    <div class="dropdown-divider"></div>
                    <?php endif; ?>

                    <?php if(Auth::user()->hasAnyPermission(['All','View Bank'])): ?>
                      <a href="<?php echo e(url('bank')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'bank' ? 'active' : null); ?>">Manage Bank</a>
                      <div class="dropdown-divider"></div>
                      <?php endif; ?>
                      


                    <?php if(false && Auth::user()->hasAnyPermission(['All','View Vendor and Payments'])): ?>
                      <div class="dropdown-divider"></div>

                      <a href="<?php echo e(url('vendorandpayment')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'vendorandpayment' ? 'active' : null); ?>">Vendor and Payments</a>
                    <?php endif; ?>
                  </div>
                </li>
                <?php endif; ?>

                <?php ($hasPermission = ['All','View Call']); ?>

                <?php if(Auth::user()->hasAnyPermission($hasPermission)): ?>
                <li class="nav-item">
                  <a href="<?php echo e(url('callcenter')); ?>"class="nav-link <?php echo e(Request::segment(1) === 'callcenter' ? 'active' : null); ?>"><i class="fa fa-phone"></i>Call Center</a>
                </li>
                <?php endif; ?>

                   <?php ($hasPermission = ['All','View HR']); ?>

                <?php if(Auth::user()->hasAnyPermission($hasPermission)): ?>
                <li class="nav-item">
                  <a href="<?php echo e(url('hr')); ?>"class="nav-link <?php echo e(Request::segment(1) === 'hr' ? 'active' : null); ?>"><i class="fa fa-group"></i>&nbsp;HR</a>
                </li>
                <?php endif; ?>

                

                <?php ($hasPermission = ['All','View Inventory Module']); ?>

                <?php if(Auth::user()->hasAnyPermission($hasPermission)): ?>
                <li class="nav-item dropdown">
                  <a href="javascript:void(0)" class="nav-link <?php echo e(Request::segment(1) === 'head' ? 'active' : null); ?>  <?php echo e(Request::segment(1) === 'Inventory' ? 'active' : null); ?>" data-toggle="dropdown"><i class="fas fa-luggage-cart"> </i>&nbsp;  Inventory</a>
                  <div class="dropdown-menu dropdown-menu-arrow">

                    <?php if(Auth::user()->hasAnyPermission(['All','View Item'])): ?>
                    <a href="<?php echo e(route('item.items')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'items' ? 'active' : null); ?>">Items</a>
                    <div class="dropdown-divider"></div>
                    <?php endif; ?>

                    <?php if(Auth::user()->hasAnyPermission(['All','View Contractor/Vendor'])): ?>
                    <a href="<?php echo e(route('user.suppliers')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'suppliers' ? 'active' : null); ?>">Contractors / Vendors</a>
                    <div class="dropdown-divider"></div>
                    <?php endif; ?>

                    <?php if(Auth::user()->hasAnyPermission(['All','View Process'])): ?>
                    <a href="<?php echo e(url('inventory')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'inventory' ? 'active' : null); ?>">Process</a>
                    <div class="dropdown-divider"></div>
                    <?php endif; ?>

                    <?php if(Auth::user()->hasAnyPermission(['All','View Pending Payments'])): ?>
                    <a href="<?php echo e(url('inventorypendingpayment')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'inventorypendingpayment' ? 'active' : null); ?>">Pending Payments</a>
                    <div class="dropdown-divider"></div>
                    <?php endif; ?>

            <?php if(Auth::user()->hasAnyPermission(['All','View Intreports'])): ?>
            <a href="<?php echo e(url('inventory_reports')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'inventory_reports' ? 'active' : null); ?>">Reports</a>
            <?php endif; ?>


            <div class="dropdown-divider"></div>

                <?php if(Auth::user()->hasAnyPermission(['All','View UsertoProjects'])): ?>
                <a href="<?php echo e(url('usertoprojects')); ?>" class="dropdown-item <?php echo e(Request::segment(1) === 'usertoprojects' ? 'active' : null); ?>">User To Projects</a>
                <?php endif; ?>
                              </div>
                            </li>


               
                <?php endif; ?>
                

                <?php ($hasPermission = ['All','View Report']); ?>

                <?php if(Auth::user()->hasAnyPermission($hasPermission)): ?>
                <li class="nav-item">
                  <a href="<?php echo e(url('reports')); ?>" class="nav-link <?php echo e(Request::segment(1) === 'reports' ? 'active' : null); ?>"><i class="fas fa-copy"></i>Reports</a>
                </li>
                <?php endif; ?>

              

                  <?php if(false): ?>
                 <li class="nav-item" >
                  <a href="<?php echo e(url('vendormodule')); ?>"class="nav-link <?php echo e(Request::segment(1) === 'vendormodule' ? 'active' : null); ?>"><i class="fa fa-industry"></i> &nbsp; Vendor </a>
                </li>
                <?php endif; ?>


                <?php ($hasPermission = ['All','View Log']); ?>

                <?php if(Auth::user()->hasAnyPermission($hasPermission)): ?>
                <li class="nav-item" >
                  <a href="<?php echo e(url('logs')); ?>"class="nav-link <?php echo e(Request::segment(1) === 'logs' ? 'active' : null); ?>"><i class="fa fa-history"></i> &nbsp; Logs </a>
                </li>
                <?php endif; ?>


                
              

               
              </ul>
            </div>
          </div>
        </div>
      </div>
      <!-- END NAV BAR -->
      <div class="my-3 my-md-5">
        <div class="container">

            <?php echo $__env->make('layouts.errors.error_message', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php echo $__env->yieldContent('page_body'); ?>

          </div>
<!--       <footer class="footer fixed-bottom">
        <div class="container">
          <div class="row align-items-center flex-row-reverse">
            <div class="col-auto ml-lg-auto">
              <div class="row align-items-center">
                <div class="col-12  text-center">
              Copyright © <?php echo e(date('Y')); ?> <a href="<?php echo e(url('/')); ?>">Estatech</a>. Powered by <a href="https://gisplus.net" target="_blank">GIsplus</a> All rights reserved.
            </div>
              </div>
            </div>

          </div>
        </div>
      </footer> -->


    </div>
  </div>
</div>

<!-- MODEL -->
<?php echo $__env->yieldContent('page_modal'); ?>

<?php echo $__env->make('user.modals.update_user_types', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!-- END MODEL -->

<!-- BASIC SCRIPT -->


<!-- <script type="text/javascript" src="<?php echo e(asset('/js/jquery.3.3.1.js')); ?>"></script> -->


<script src="<?php echo e(asset('js/sweetalert.min.js')); ?>" ></script>
<script src="<?php echo e(asset('js/jquery.min.js')); ?>" ></script>
<script src="<?php echo e(asset('js/toastr.min.js')); ?>" ></script>

<script src="<?php echo e(asset('plugins/bootstrap-datepicker-1.6.4-dist/js/bootstrap-datepicker.min.js')); ?>" ></script>
<script src="<?php echo e(asset('/plugins/morris.js/morris.min.js')); ?>"></script>
<script src="<?php echo e(asset('/plugins/morris.js/raphael.min.js')); ?>"></script>

<script src="<?php echo e(asset('/plugins/fontawesome_picker/dist/js/fontawesome-iconpicker.min.js')); ?>"></script>


 <script src="https://cdnjs.cloudflare.com/ajax/libs/select2/3.3.2/select2.min.js"></script>

 <script>
 $(document).ready(function() {
     $('.select2').select2();
 });
 </script>




<script type="text/javascript" src="<?php echo e(asset('/js/custom_js/validation/custom_validation.js')); ?>"></script>

<script type="text/javascript" src="<?php echo e(asset('/js/custom_js/validation/bind_validation.js')); ?>"></script>
<script type="text/javascript" src="<?php echo e(asset('/js/custom_js/validation/estatech_validation.js')); ?>"></script>
<script type="text/javascript" src="<?php echo e(asset('/js/custom_js/estatech.js')); ?>"></script>



<script type="text/javascript" src="<?php echo e(asset('/js/jquery_datatable.min.js')); ?>"></script>

<script type="text/javascript" src="<?php echo e(asset('js/bootstrap4_datatable.min.js')); ?>"></script>


<script type="text/javascript" src="<?php echo e(asset('js/datatable_column_sort.js')); ?>"></script>



<script type="text/javascript" src="<?php echo e(asset('plugins/search-box/js/search_box.min.js')); ?>"></script>

<script src="<?php echo e(asset('js/jquery-multiautocomplete.min.js')); ?>"></script>


<script src="<?php echo e(asset('/assets/js/require.min.js')); ?>"></script>
<script>
  requirejs.config({
    baseUrl: "<?php echo e(url('/')); ?>"
  });


</script>

<script src="<?php echo e(asset('/assets/js/dashboard.js')); ?>"></script>


<script src="<?php echo e(asset('/assets/plugins/maps-google/plugin.js')); ?>"></script>

<script src="<?php echo e(asset('/assets/plugins/input-mask/plugin.js')); ?>"></script>

<script src="<?php echo e(asset('/assets/plugins/sp-loader/plugin.js')); ?>"></script>

<script src="<?php echo e(asset('/assets/plugins/easy-auto-complete/plugin.js')); ?>"></script>


<script src="<?php echo e(asset('plugins/easyautocomplete/jquery.easy-autocomplete.min.js')); ?>"></script>








<!-- <script src="<?php echo e(asset('/assets/plugins/busy-loader/plugin.js')); ?>"></script> 
  
<script src="<?php echo e(asset('/assets/plugins/charts-c3/plugin.js')); ?>"></script>
-->


<script>


setFstDropdown();


 require(['input-mask']);
 require(['sp-loader']);
 require(['easy-auto-complete']);

    // DATA TABLE CONFIGURATIION
    $(document).ready(function() {

        var data = {
            "pageLength": 10,
            "columnDefs": [
                { "type": "numeric-comma", targets: 0 }
            ]};

        loadDataTable($('.cls_datatable'),data);

        loadDataTable($('#cls_datatable'),data);

        loadDataTable($('.cls_datatable_sms'),data);

        loadDataTable($('.cls_datatable_due'),data);

        loadDataTable($('.cls_datatable_installment'),data);

        loadDataTable($('.cls_datatable_commission'),data);


        loadDataTable($('.cls_datatable_nominee'),data);

        loadDataTable($('.cls_datatable_document'),data);

        data = {

          "searching"     : false,
          "bInfo"         : false,
          "bFilter"       : false,
          "bLengthChange" : false,
          "pageLength"    : 10,
          "columnDefs"    : [
              { "type": "numeric-comma", targets: 0 }
        ]};

        loadDataTable($('.payment_receipts'),data);

         var data = {
            "pageLength": 10,
            "columnDefs": [
                { "type": "numeric-comma", targets: 0,
                  "type": "numeric-comma", targets: 2,
                  "type": "numeric-comma", targets: 3,
                  "type": "numeric-comma", targets: 4,
                  "type": "numeric-comma", targets: 5
                 }
            ]};

        loadDataTable($('.tax_datatable'),data);



    });

    function loadDataTable(element,data)
    {
        element.dataTable(data);
    }

    // FOR AJAX BASE LOADING DATA
    var dtTable = $('.cls_datatable');

    function showBranchWiseDataTable(event,branch_object,key,target)
    {
      event.preventDefault();

      showLoader();

      branch_object = $(branch_object).val();

      formdata = {'key':key,'branch_object':branch_object,'_token':token};

      $.post("<?php echo e(route('datatable.show')); ?>", formdata, function(data)
        {
            resetDataTable(dtTable);

        $('#'+target).html(data);

          reiniDataTable(dtTable);

        removeLoader();

        },'html')
        .fail(function(data) {


        });
    }


    function showBlocksInDropDown(event,branch_object,key,target)
    {
        // after branch get all blocks of the branch.
      event.preventDefault();

      

      showLoader();

      branch_object = $(branch_object).val();

      formdata = {'key':key,'branch_object':branch_object,'_token':token};

      

      $.get("<?php echo e(url('/allblocklist/')); ?>/"+branch_object, function(data)
        {
            $('.'+target).html(data);

        removeLoader();

        },'html')
        .fail(function(data) {


        });
    }

    function showParameterBranchWiseDataTable(event,branch_object,args1,key,target)
    {
      event.preventDefault();

      showLoader();

      branch_object = $(branch_object).val();

      formdata = {'key':key,'branch_object':branch_object,'args1':args1,'_token':token};

      $.post("<?php echo e(route('datatable.show')); ?>", formdata, function(data)
        {
            // resetDataTable(dtTable);

        $('#'+target).html(data);

          reiniDataTable(dtTable);

        removeLoader();

        },'html')
        .fail(function(data) {


        });
    }
    // END DATA TABLE CONFIGURATION



 </script>


 <!-- END SCRIPT -->

 <!-- INCLUDE SCRIPT -->
 <script>
  var token = "<?php echo e(Session::token()); ?>";

  var default_encrypt = "<?php echo e(Crypt::encrypt(0)); ?>";

 $(window).load(function() {
    // Animate loader off screen
    $(".se-pre-con").fadeOut("slow");;
  });

</script>


<script type="text/javascript">
  $(document).ready(function() {
      window.history.pushState(null, "", window.location.href);
      window.onpopstate = function() {
          window.history.pushState(null, "", window.location.href);
      };
  });
</script>
<script>

</script>

<?php echo Toastr::message(); ?>


<!-- END BASIC SCRIPT -->

<!-- INHERIT SCRIPT ACCORDING TO PAGE DEMAND -->
<?php echo $__env->yieldContent('page_script'); ?>
<!-- END INHERIT SCRIPT ACCORDING TO PAGE DEMAND -->
<div class="">

  <img class="img-responsive" alt="<?php echo e(EF::appSetting()['app_name']); ?>" src="/graphics/building.png" style="width:100%; position: fixed; bottom: 0px; height: 300px; z-index: -1">

</div>
</body>
</html>
<?php /**PATH /home/ubuntu/rebmgisplus/skylite/resources/views/layouts/dashboard.blade.php ENDPATH**/ ?>