<!DOCTYPE html>
<html lang="en">


<!-- Mirrored from www.radixtouch.in/templates/logicswave/ality/source/light/ by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 02 Sep 2020 20:02:10 GMT -->
<head>
  <meta charset="UTF-8">
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no" name="viewport">
  <title>@yield('title') - EASYSHOP</title>
  <!-- General CSS Files -->
  <link rel="stylesheet" href="{{asset('assets/css/app.min.css')}}">
  <!-- Template CSS -->
  <link rel="stylesheet" href="{{asset('assets/css/style.css')}}">
  <link rel="stylesheet" href="{{asset('assets/css/components.css')}}">
  <link rel="stylesheet" href="{{asset('assets/bundles/select2/dist/css/select2.min.css')}}">
  <link rel="stylesheet" href="{{asset('assets/bundles/jquery-selectric/selectric.css')}}">
  <link rel="stylesheet" href="{{asset('assets/bundles/prism/prism.css')}}">
  <!-- Custom style CSS -->
  <link rel="stylesheet" href="{{asset('assets/css/custom.css')}}">
  <link href="{{asset('toastr/toastr.min.css')}}" rel="stylesheet" type="text/css" />
  <link rel="stylesheet" href="{{asset('assets/bundles/datatables/datatables.min.css')}}">
  <link rel="stylesheet" href="{{asset('assets/bundles/datatables/DataTables-1.10.16/css/dataTables.bootstrap4.min.css')}}">
  <link rel='shortcut icon' type='image/x-icon' href="{{asset('assets/img/favicon.jpg')}}" />
  <link rel="stylesheet" href="{{asset('assets/css/test.css')}}">
  <script src="{{asset('assets/js/jsSimpleDatePickr.js')}}"></script>
  <script src="{{asset('assets/js/jsSimpleDatePickrInit.js')}}"></script>
  
</head>

<body>
  <div class="loader"></div>
  <div id="app">
    <div class="main-wrapper main-wrapper-1">
      <div class="navbar-bg">KFF</div>
      <nav class="navbar navbar-expand-lg main-navbar">
        <div class="form-inline mr-auto">
          <ul class="navbar-nav mr-3">
            <li><a href="#" data-toggle="sidebar" class="nav-link nav-link-lg collapse-btn" style="color:#fff;"><i
                  class="fas fa-bars"></i></a></li>
            <li><a href="#" class="nav-link nav-link-lg fullscreen-btn" style="color:#fff;">
                <i class="fas fa-expand"></i>
              </a>
            </li>
          </ul>
        </div>
        <ul class="navbar-nav navbar-right">
          <li class="dropdown"><a href="#" data-toggle="dropdown"
              class="nav-link dropdown-toggle nav-link-lg nav-link-user">
              <img alt="image" src="{{asset('assets/img/user.png')}}" class="user-img-radious-style">
              <span class="d-sm-none d-lg-inline-block"></span></a>
            <div class="dropdown-menu dropdown-menu-right">
              <div class="dropdown-title">Bienvenue {{session('user')->nom}}</div>
              <a href="#" class="dropdown-item has-icon">
                <i class="fas fa-cog"></i> Paramètres
              </a>
			   @if ( session('user')->roles == "Admin" )
              <a href="{{route('Register')}}" class="dropdown-item has-icon">
                <i class="far fa-user"></i> Nouvel utilisateur
              </a>
              <a href="{{route('Liste_des_utilisateurs')}}" class="dropdown-item has-icon">
                <i class="fas fa-users"></i> Liste des utilisateurs
              </a>
              @endif
			  <a href="{{route('change_password', ['id'=>session('user')->id])}}" class="dropdown-item has-icon">
                <i class="fas fa-cog"></i> Changer mot de passe
              </a>
              <div class="dropdown-divider"></div>
              <form method="post" action="{{route('Deconnexion')}}">
					 {{csrf_field()}}
				<button type="submit" class="dropdown-item has-icon text-danger">
                    <i  style="margin-top:7px" class="fas fa-sign-out-alt"></i> <strong style="font-size: 12px">Déconnexion</strong>
                </button>
				</form>
            </div>
          </li>
        </ul>
      </nav>
      <div class="main-sidebar sidebar-style-3" style="width:1px">
        <aside id="sidebar-wrapper">
          <div class="sidebar-brand">
			@if (session('user')->roles == "Admin" || session('user')->roles == "Gérant")
            <a href="{{route('accueil')}}">
             <img alt="image" src="{{asset('assets/img/brand.png')}}" class="header-logo" />
            </a>
			@else
			<a href="{{route('vente')}}">
              <img alt="image" src="{{asset('assets/img/brand.png')}}" class="header-logo" />
            </a>	
			@endif
          </div>
          
        </aside>
      </div>
      <!-- Main Content -->
      <div class="main-content" style="padding-left:10px">
        <section class="section">
			@yield('content')
        </section>
      </div>
      <footer class="main-footer">
        <div class="footer-left">
          Copyright &copy; 2022. Tous droits reservés.<div class="bullet"></div> Développé par <a target="_blank" href="https://kbe-technologies.com" style="color:yellow;">KBE TECHNOLOGIES</a>
        </div>
        <div class="footer-right">
        </div>
      </footer>
    </div>
  </div>
  <!-- General JS Scripts -->
  <script src="{{asset('assets/js/app.min.js')}}"></script>
  <!-- JS Libraies -->
  <!-- Page Specific JS File -->
  <!-- Template JS File -->
  <script src="{{asset('assets/js/scripts.js')}}"></script>
  <!-- Custom JS File -->
  <script src="{{asset('assets/js/custom.js')}}"></script>
  <script src="{{asset('toastr/toastr.min.js')}}"></script>
    <!-- JS Libraies -->
  <script src="{{asset('assets/bundles/datatables/datatables.min.js')}}"></script>
  <script src="{{asset('assets/bundles/datatables/DataTables-1.10.16/js/dataTables.bootstrap4.min.js')}}"></script>
  <script src="{{asset('assets/bundles/apexcharts/apexcharts.min.js')}}"></script>
  <!-- Page Specific JS File -->
  <script src="{{asset('assets/js/page/datatables.js')}}"></script>
    <script src="{{asset('assets/bundles/select2/dist/js/select2.full.min.js')}}"></script>
  <script src="{{asset('assets/bundles/jquery-selectric/jquery.selectric.min.js')}}"></script>
  <!-- JS Libraies -->
  <script src="{{asset('assets/bundles/prism/prism.js')}}"></script>
  <script type="text/javascript">
  //<![CDATA[
  calInit("calendarMain", "", "champ_date", "jsCalendar", "day", "selectedDay");
  calInit("calendarMain2", "", "champ_date2", "jsCalendar", "day", "selectedDay");
  calInit("calendarMain3", "", "champ_date3", "jsCalendar", "day", "selectedDay");
  calInit("calendarMain4", "", "champ_date4", "jsCalendar", "day", "selectedDay");
  calInit("calendarMain5", "", "champ_date5", "jsCalendar", "day", "selectedDay");
  calInit("calendarMain6", "", "champ_date6", "jsCalendar", "day", "selectedDay");
  //]]>
</script>
  @stack('scripts')
</body>


<!-- Mirrored from www.radixtouch.in/templates/logicswave/ality/source/light/ by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 02 Sep 2020 20:03:28 GMT -->
</html>