<!DOCTYPE html>
<html
  lang="es"
  class="light-style layout-navbar-fixed layout-menu-fixed <?php echo e(request()->is('billings') || request()->is('credit-notes') || request()->is('sales-general') || request()->is('sales-seller') || request()->is('purchases-general') || request()->is('purchases-provider') || request()->is('purchases-expenses') || request()->is('inventories-items') || request()->is('prices') || request()->is('reference-guides') ? 'layout-menu-collapsed' : ''); ?>"
  dir="ltr"
  data-theme="theme-default"
  data-assets-path="assets/"
  data-template="vertical-menu-template">
  <head>
    <meta charset="utf-8" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />

    <title>Facturaci&oacute;n Electr&oacute;nica</title>

    <meta name="description" content="Sistema de Facturación Electrónica desarrollado por Nick2412" />
    <meta name="author" content="Nick2412.">
    <!-- Favicon -->
    <link rel="shortcut icon" type="image/x-icon" href="<?php echo e(asset('assets/img/favicon/favicon-mytems.ico')); ?>">
    <!-- Fonts -->
    <link rel="preconnect" href="https://fonts.googleapis.com" />
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
    <link
      href="https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap"
      rel="stylesheet" />

    <!-- Icons -->
    <link rel="stylesheet" href="<?php echo e(asset('assets/vendor/fonts/fontawesome.css')); ?>" />
    <link rel="stylesheet" href="<?php echo e(asset('assets/vendor/fonts/tabler-icons.css')); ?>" />
    <link rel="stylesheet" href="<?php echo e(asset('assets/vendor/fonts/flag-icons.css')); ?>" />

    <!-- Core CSS -->
    <link rel="stylesheet" href="<?php echo e(asset('assets/vendor/css/rtl/core.css')); ?>" class="template-customizer-core-css" />
    <link rel="stylesheet" href="<?php echo e(asset('assets/css/demo.css')); ?>" />


    <!-- Vendors CSS -->
    <link rel="stylesheet" href="<?php echo e(asset('assets/vendor/libs/perfect-scrollbar/perfect-scrollbar.css')); ?>" />
    <link rel="stylesheet" href="<?php echo e(asset('assets/vendor/libs/node-waves/node-waves.css')); ?>" />
    <link rel="stylesheet" href="<?php echo e(asset('assets/vendor/libs/typeahead-js/typeahead.css')); ?>" />
    <link rel="stylesheet" href="<?php echo e(asset('assets/vendor/libs/apex-charts/apex-charts.css')); ?>" />
    <link rel="stylesheet" href="<?php echo e(asset('assets/vendor/libs/datatables-bs5/datatables.bootstrap5.css')); ?>" />
    <link rel="stylesheet" href="<?php echo e(asset('assets/vendor/libs/datatables-responsive-bs5/responsive.bootstrap5.css')); ?>" />
    <link rel="stylesheet" href="<?php echo e(asset('assets/vendor/libs/datatables-checkboxes-jquery/datatables.checkboxes.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset('assets/vendor/libs/datatables-buttons-bs5/buttons.bootstrap5.css')); ?>" />
    <link rel="stylesheet" href="<?php echo e(asset('assets/vendor/libs/datatables-rowgroup-bs5/rowgroup.bootstrap5.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset('assets/vendor/libs/pnotify/pnotify.custom.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset('assets/vendor/libs/sweetalert2/sweetalert2.css')); ?>" />
    <link rel="stylesheet" href="<?php echo e(asset('assets/vendor/libs/spinkit/spinkit.css')); ?>" />
    <link rel="stylesheet" href="<?php echo e(asset('assets/vendor/libs/select2/select2.css')); ?>" />
    <link rel="stylesheet" href="<?php echo e(asset('assets/vendor/css/rtl/theme-default.css')); ?>" class="template-customizer-theme-css" />
    <?php echo $__env->yieldContent('styles'); ?>

    <script src="<?php echo e(asset('assets/vendor/js/template-customizer.js')); ?>"></script>

    <!-- Page CSS -->

    <!-- Helpers -->
    <script src="<?php echo e(asset('assets/vendor/js/helpers.js')); ?>"></script>

    <!--! Template customizer & Theme config files MUST be included after core stylesheets and helpers.js in the <head> section -->
    <!--? Template customizer: To hide customizer set displayCustomizer value false in config.js.  -->
    <!--? Config:  Mandatory theme config file contain global vars & default theme options, Set your preferred theme option in this file.  -->
    <script src="<?php echo e(asset('assets/js/config.js')); ?>"></script>
  </head>

  <body>
    <div id="ID-load" class="ID-load">
        <div>
            <div>
                <img src="<?php echo e(asset('assets/img/branding/load.png')); ?>" alt="" style="width: 55px;">
            </div>
            <div class="id-load-content">
                <div class="id-load-icon id-shop">
                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512">
                        <path class="fa-primary"
                            d="M490.3 13.1l57.3 90.7c29.7 46.9 3.4 112-52.1 119.4c-4 .5-7.9 .8-12.1 .8c-26.1 0-49.2-11.4-65.2-29c-15.9 17.6-39 29-65.2 29c-26.1 0-49.3-11.4-65.2-29c-15.9 17.6-39 29-65.2 29c-26.1 0-49.3-11.4-65.2-29c-15.9 17.6-39.1 29-65.2 29c-4.1 0-8.2-.3-12.1-.8c-55.3-7.4-81.5-72.6-51.9-119.4L85.7 13.1C90.8 5 99.9 0 109.6 0H466.4c9.7 0 18.8 5 23.9 13.1z" />
                        <path class="fa-secondary"
                            d="M64 219.1V384v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V384 219.1c-5.1 2-10.6 3.4-16.5 4.1c-4 .5-7.9 .8-12.1 .8c-12.7 0-24.6-2.7-35.4-7.5V384H128V216.5c-10.8 4.8-22.9 7.5-35.6 7.5c-4.1 0-8.2-.3-12.1-.8c-5.7-.8-11.2-2.2-16.2-4.1z" />
                    </svg>
                </div>
                <div class="id-load-icon id-cart">
                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512">
                        <path class="fa-primary"
                            d="M0 24C0 10.7 10.7 0 24 0H69.5c26.9 0 50 19.1 55 45.5l51.6 271c2.2 11.3 12.1 19.5 23.6 19.5H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H199.7c-34.6 0-64.3-24.6-70.7-58.5L77.4 54.5c-.7-3.8-4-6.5-7.9-6.5H24C10.7 48 0 37.3 0 24zM128 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96z" />
                        <path class="fa-secondary"
                            d="M170.7 288H459.2c32.6 0 61.1-21.8 69.5-53.3l41-152.3C576.6 57 557.4 32 531.1 32h-411c2 4.2 3.5 8.8 4.4 13.5L170.7 288z" />
                    </svg>
                </div>
    
                <div class="id-load-icon id-register">
                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
                        <path class="fa-primary"
                            d="M0 448V378.4c0-4.8 .4-9.6 1.1-14.4L23.8 214.4C28.5 183.1 55.4 160 87 160H425c31.6 0 58.5 23.1 63.3 54.4l22.7 149.6c.7 4.8 1.1 9.6 1.1 14.4V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64zm64-16c0 8.8 7.2 16 16 16H432c8.8 0 16-7.2 16-16s-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm48-216a24 24 0 1 0 0 48 24 24 0 1 0 0-48zm72 24a24 24 0 1 0 48 0 24 24 0 1 0 -48 0zm-24 56a24 24 0 1 0 0 48 24 24 0 1 0 0-48zm120-56a24 24 0 1 0 48 0 24 24 0 1 0 -48 0zm-24 56a24 24 0 1 0 0 48 24 24 0 1 0 0-48zm120-56a24 24 0 1 0 48 0 24 24 0 1 0 -48 0zm-24 56a24 24 0 1 0 0 48 24 24 0 1 0 0-48z" />
                        <path class="fa-secondary"
                            d="M64 0C46.3 0 32 14.3 32 32V96c0 17.7 14.3 32 32 32h80v32h64V128h80c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H64zM96 48H256c8.8 0 16 7.2 16 16s-7.2 16-16 16H96c-8.8 0-16-7.2-16-16s7.2-16 16-16zm16 168a24 24 0 1 0 0 48 24 24 0 1 0 0-48zm72 24a24 24 0 1 0 48 0 24 24 0 1 0 -48 0zm-24 56a24 24 0 1 0 0 48 24 24 0 1 0 0-48zm120-56a24 24 0 1 0 48 0 24 24 0 1 0 -48 0zm-24 56a24 24 0 1 0 0 48 24 24 0 1 0 0-48zm120-56a24 24 0 1 0 48 0 24 24 0 1 0 -48 0zm-24 56a24 24 0 1 0 0 48 24 24 0 1 0 0-48z" />
                    </svg>
                </div>
                <div class="id-load-icon id-report">
                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
                        <path class="fa-primary"
                            d="M505 44c11 13.8 8.8 33.9-5 45L340 217c-11.4 9.1-27.5 9.4-39.2 .6L192.6 136.5 52 249c-13.8 11-33.9 8.8-45-5s-8.8-33.9 5-45L172 71c11.4-9.1 27.5-9.4 39.2-.6l108.2 81.1L460 39c13.8-11 33.9-8.8 45 5z" />
                        <path class="fa-secondary"
                            d="M192 224c-17.7 0-32 14.3-32 32V448c0 17.7 14.3 32 32 32s32-14.3 32-32V256c0-17.7-14.3-32-32-32zM64 320c-17.7 0-32 14.3-32 32v96c0 17.7 14.3 32 32 32s32-14.3 32-32V352c0-17.7-14.3-32-32-32zm224 0V448c0 17.7 14.3 32 32 32s32-14.3 32-32V320c0-17.7-14.3-32-32-32s-32 14.3-32 32zm160-96c-17.7 0-32 14.3-32 32V448c0 17.7 14.3 32 32 32s32-14.3 32-32V256c0-17.7-14.3-32-32-32z" />
                    </svg>
                </div>
    
                <div class="id-load-icon id-sale">
                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
                        <path class="fa-primary"
                            d="M477.6 19.8c-1.5-3.7-3.8-7.3-6.9-10.3c0 0-.1-.1-.1-.1C464.8 3.6 456.8 0 448 0h0H352c-17.7 0-32 14.3-32 32s14.3 32 32 32h18.7l-84.4 84.4L196.8 71.7c-12-10.3-29.7-10.3-41.7 0l-112 96c-13.4 11.5-15 31.7-3.5 45.1s31.7 15 45.1 3.5L176 138.1l91.2 78.1c12.7 10.9 31.6 10.2 43.5-1.7L416 109.3V128c0 17.7 14.3 32 32 32s32-14.3 32-32V32v0c0 0 0-.1 0-.1c0-4.3-.9-8.4-2.4-12.2z" />
                        <path class="fa-secondary"
                            d="M48 256c-26.5 0-48 21.5-48 48V464c0 26.5 21.5 48 48 48H464c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48H48zM96 464H48V416c26.5 0 48 21.5 48 48zM48 352V304H96c0 26.5-21.5 48-48 48zM416 464c0-26.5 21.5-48 48-48v48H416zm48-112c-26.5 0-48-21.5-48-48h48v48zM256 320a64 64 0 1 1 0 128 64 64 0 1 1 0-128z" />
                    </svg>
                </div>
                <div class="id-load-icon id-invetory">
                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512">
                        <path class="fa-primary"
                            d="M176 48A48 48 0 1 0 80 48a48 48 0 1 0 96 0zM144 306.7V241.7l19 28.5c4.6 7 11 12.6 18.5 16.3l60.2 30.1c15.8 7.9 35 1.5 42.9-14.3s1.5-35-14.3-42.9l-56.4-28.2L166.5 160c-13.3-20-35.8-32-59.9-32C74.2 128 48 154.2 48 186.6v88.1c0 17 6.7 33.3 18.7 45.3l79.4 79.4 14.3 85.9c2.9 17.4 19.4 29.2 36.8 26.3s29.2-19.4 26.3-36.8l-15.2-90.9c-1.6-9.9-6.3-19-13.4-26.1l-51-51zM2.3 468.1c-6.6 16.4 1.4 35 17.8 41.6s35-1.4 41.6-17.8l37.6-94L50.1 348.6 2.3 468.1zM464 48a48 48 0 1 0 96 0 48 48 0 1 0 -96 0zm32 258.7l-51 51c-7.1 7.1-11.8 16.2-13.4 26.1l-15.2 90.9c-2.9 17.4 8.9 33.9 26.3 36.8s33.9-8.9 36.8-26.3l14.3-85.9L573.3 320c12-12 18.7-28.3 18.7-45.3V186.6c0-32.4-26.2-58.6-58.6-58.6c-24.1 0-46.5 12-59.9 32l-47.4 71.1-56.4 28.2c-15.8 7.9-22.2 27.1-14.3 42.9s27.1 22.2 42.9 14.3l60.2-30.1c7.5-3.7 13.8-9.4 18.5-16.3l19-28.5v65.1zM637.7 468.1L589.9 348.6l-49.2 49.2 37.6 94c6.6 16.4 25.2 24.4 41.6 17.8s24.4-25.2 17.8-41.6z" />
                        <path class="fa-secondary"
                            d="M248.6 319.2c-2.4-.6-4.7-1.4-7-2.5l-.6-.3c2.4 1.2 4.9 2.2 7.5 2.8zm134.7 .8H256.6c11.5-.2 22.5-6.7 28-17.7c7.9-15.8 1.5-35-14.3-42.9L224 236.2V160c0-17.7 14.3-32 32-32H384c17.7 0 32 14.3 32 32v76.2l-46.3 23.2c-15.8 7.9-22.2 27.1-14.3 42.9c5.5 11 16.5 17.4 28 17.7zm8.5-1c2.5-.6 4.8-1.5 7-2.7l-.5 .3c-2.1 1.1-4.3 1.9-6.5 2.4z" />
                    </svg>
                </div>
            </div>
        </div>
    </div>
    
    <!-- Layout wrapper -->
    <div id="layout-content" class="layout-wrapper layout-content-navbar">
      <div class="layout-container">
        <!-- Menu -->

        <aside id="layout-menu" class="layout-menu menu-vertical menu bg-menu-theme">
          <div class="app-brand demo">
            <a href="<?php echo e(route('admin.home')); ?>" class="app-brand-link">
                <span class="app-brand-logo demo">
                    <img src="<?php echo e(asset('assets/img/icons/icon-login.png')); ?>" alt=""
                        class="img-fluid">
                </span>
              <!--<span class="app-brand-text demo menu-text fw-bold">Transp. Akil</span> -->
              <span class="app-brand-text demo menu-text">Transportes Akil</span>
            </a>

            <a href="javascript:void(0);" class="layout-menu-toggle menu-link text-large ms-auto">
              <i class="ti menu-toggle-icon d-none d-xl-block ti-sm align-middle"></i>
              <i class="ti ti-x d-block d-xl-none ti-sm align-middle"></i>
            </a>
          </div>

          <div class="menu-inner-shadow"></div>

          <ul class="menu-inner py-1">
            <!-- Dashboards -->
            <!-- Layouts -->

            <!-- Apps & Pages -->
            <li class="menu-header small text-uppercase">
              <span class="menu-header-text">MENU</span>
            </li>
            <li class="menu-item <?php echo e(request()->is('home') ? 'active' : ''); ?>">
              <a href="<?php echo e(route('admin.home')); ?>" class="menu-link">
                <i class="menu-icon" data-feather="bar-chart"></i>
                <div data-i18n="Principal"> Principal</div>
              </a>
            </li>
            <li class="menu-item <?php echo e(request()->is('cashes') ? 'active' : ''); ?>">
              <a href="<?php echo e(route('admin.cashes')); ?>" class="menu-link">
                <i class="menu-icon" data-feather="credit-card"></i>
                <div data-i18n="Administrar Cajas">Administrar Cajas</div>
              </a>
            </li>
            <li class="menu-item <?php echo e(request()->is('alerts-stock') || request()->is('alerts-expiration') || request()->is('alerts-sale')  ? 'active open' : ''); ?>">
              <a href="javascript:void(0);" class="menu-link menu-toggle">
                <i class="menu-icon" data-feather="bell"></i>
                <div data-i18n="Alertas">Alertas</div>
              </a>
              <ul class="menu-sub">
                <li class="menu-item <?php echo e(request()->is('alerts-sale') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.alerts_sale')); ?>" class="menu-link">
                    <div data-i18n="Pendientes SUNAT">Pendientes SUNAT</div>
                  </a>
                </li>
                <li class="menu-item <?php echo e(request()->is('alerts-stock') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.alerts_stock')); ?>" class="menu-link">
                    <div data-i18n="Productos por Agotar">Productos por Agotar</div>
                  </a>
                </li>
                <li class="menu-item <?php echo e(request()->is('alerts-expiration') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.alerts_expiration')); ?>" class="menu-link">
                    <div data-i18n="Productos por Vencer">Productos por Vencer</div>
                  </a>
                </li>
              </ul>
            </li>
            <li class="menu-item <?php echo e(request()->is('reference-guides') || request()->is('create-guide')  ? 'active open' : ''); ?>">
              <a href="javascript:void(0);" class="menu-link menu-toggle">
                <i class="menu-icon" data-feather="archive"></i>
                <div data-i18n="Encomiendas">Encomiendas</div>
              </a>
              <ul class="menu-sub">
                <li class="menu-item <?php echo e(request()->is('create-guide') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.create_reference_guide')); ?>" class="menu-link">
                    <div data-i18n="Registrar">Registrar</div>
                  </a>
                </li>
                <li class="menu-item <?php echo e(request()->is('reference-guides') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.reference_guides')); ?>" class="menu-link">
                    <div data-i18n="Listado Encomiendas">Listado Encomiendas</div>
                  </a>
                </li>
              </ul>
            </li>
            <li class="menu-item <?php echo e(request()->is('quotes') || request()->is('create-quote')  || request()->is('sale-notes') || request()->is('create-sale-note') || request()->is('billings') || request()->is('credit-notes') || request()->routeIs('admin.create_nc') || request()->routeIs('admin.edit_quote') ? 'active open' : ''); ?>">
              <a href="javascript:void(0);" class="menu-link menu-toggle">
                <i class="menu-icon" data-feather="file-text"></i>
                <div data-i18n="Ventas">Ventas</div>
              </a>
              <ul class="menu-sub">
                <li class="menu-item <?php echo e(request()->is('billings') || request()->routeIs('admin.create_nc') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.billings')); ?>" class="menu-link">
                    <div data-i18n="Listado de Ventas">Listado de Ventas</div>
                  </a>
                </li>
                <li class="menu-item <?php echo e(request()->is('credit-notes') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.credit_notes')); ?>" class="menu-link">
                    <div data-i18n="Notas de Crédito">Notas de Crédito</div>
                  </a>
                </li>
                <li class="menu-item <?php echo e(request()->is('sale-notes') || request()->is('create-sale-note') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.sale_notes')); ?>" class="menu-link">
                    <div data-i18n="Notas de Venta">Notas de Venta</div>
                  </a>
                </li>
                <li class="menu-item <?php echo e(request()->is('quotes') || request()->is('create-quote') || request()->routeIs('admin.edit_quote') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.quotes')); ?>" class="menu-link">
                    <div data-i18n="Cotizaciones">Cotizaciones</div>
                  </a>
                </li>
              </ul>
            </li>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.buys', 'admin.create_buy', 'admin.bills')): ?>
            <li class="menu-item <?php echo e(request()->is('bills') || request()->is('buys') || request()->is('create-buy')  ? 'active open' : ''); ?>">
              <a href="javascript:void(0);" class="menu-link menu-toggle">
                <i class="menu-icon" data-feather="shopping-cart"></i>
                <div data-i18n="Compras">Compras</div>
              </a>
              <ul class="menu-sub">
                <li class="menu-item <?php echo e(request()->is('create-buy') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.create_buy')); ?>" class="menu-link">
                    <div data-i18n="Compra de Mercadería">Compra de Mercadería</div>
                  </a>
                </li>
                <li class="menu-item <?php echo e(request()->is('buys') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.buys')); ?>" class="menu-link">
                    <div data-i18n="Listado de Compras">Listado de Compras</div>
                  </a>
                </li>
                <li class="menu-item <?php echo e(request()->is('bills') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.bills')); ?>" class="menu-link">
                    <div data-i18n="Gastos">Gastos</div>
                  </a>
                </li>
              </ul>
            </li>
            <?php endif; ?>
            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.products')): ?>
            <li class="menu-item <?php echo e(request()->is('products') ? 'active open' : ''); ?>">
              <a href="javascript:void(0);" class="menu-link menu-toggle">
                <i class="menu-icon" data-feather="package"></i>
                <div data-i18n="Inventario">Inventario</div>
              </a>
              <ul class="menu-sub">
                <li class="menu-item <?php echo e(request()->is('products') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.products')); ?>" class="menu-link">
                    <div data-i18n="Productos">Productos</div>
                  </a>
                </li>
              </ul>
            </li>
            <?php endif; ?>
            
            <li class="menu-item <?php echo e(request()->is('roles') || request()->is('clients') || request()->is('senders') || request()->is('drivers') || request()->is('providers') || request()->is('users') || request()->routeIs('admin.view_role') ? 'active open' : ''); ?>">
              <a href="javascript:void(0);" class="menu-link menu-toggle">
                <i class="menu-icon" data-feather="users"></i>
                <div data-i18n="Contactos">Contactos</div>
              </a>
              <ul class="menu-sub">
                <li class="menu-item <?php echo e(request()->is('senders') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.senders')); ?>" class="menu-link">
                    <div data-i18n="Remitentes">Remitentes</div>
                  </a>
                </li>
                <li class="menu-item <?php echo e(request()->is('clients') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.clients')); ?>" class="menu-link">
                    <div data-i18n="Destinatarios">Destinatarios</div>
                  </a>
                </li>
                <li class="menu-item <?php echo e(request()->is('drivers') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.drivers')); ?>" class="menu-link">
                    <div data-i18n="Conductores">Conductores</div>
                  </a>
                </li>
                <li class="menu-item <?php echo e(request()->is('providers') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.providers')); ?>" class="menu-link">
                    <div data-i18n="Proveedores">Proveedores</div>
                  </a>
                </li>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.users', 'admin.roles')): ?>
                <li class="menu-item <?php echo e(request()->is('users') || request()->routeIs('admin.view_role') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.users')); ?>" class="menu-link">
                    <div data-i18n="Usuarios">Usuarios</div>
                  </a>
                </li>
                <li class="menu-item <?php echo e(request()->is('roles') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.roles')); ?>" class="menu-link">
                    <div data-i18n="Roles">Roles</div>
                  </a>
                </li>
                <?php endif; ?>
              </ul>
            </li>
            <!-- Extended components -->
            <li class="menu-item <?php echo e(request()->is('inventories-items') || request()->is('contacts-customers') || request()->is('contacts-providers') || request()->is('purchases-expenses') || request()->is('purchases-provider') || request()->is('purchases-general') || request()->is('sales-general') || request()->is('sales-seller') || request()->is('sales-product') ? 'active open' : ''); ?>">
              <a href="javascript:void(0)" class="menu-link menu-toggle">
                <i class="menu-icon" data-feather="calendar"></i>
                <div data-i18n="Reportes">Reportes</div>
              </a>
              <ul class="menu-sub">
                <li class="menu-item <?php echo e(request()->is('sales-general') || request()->is('sales-seller') || request()->is('sales-product') ? 'open active' : ''); ?>">
                  <a href="javascript:void(0);" class="menu-link menu-toggle">
                    <div data-i18n="Ventas">Ventas</div>
                  </a>
                  <ul class="menu-sub">
                    <li class="menu-item <?php echo e(request()->is('sales-general') ? 'active' : ''); ?>">
                      <a href="<?php echo e(route('admin.sales_general')); ?>" class="menu-link">
                        <div data-i18n="Ventas General">Ventas General</div>
                      </a>
                    </li>
                    <li class="menu-item <?php echo e(request()->is('sales-seller') ? 'active' : ''); ?>">
                      <a href="<?php echo e(route('admin.sales_seller')); ?>" class="menu-link">
                        <div data-i18n="Ventas por Vendedor">Ventas por Vendedor</div>
                      </a>
                    </li>
                    <li class="menu-item <?php echo e(request()->is('sales-product') ? 'active' : ''); ?>">
                      <a href="<?php echo e(route('admin.sales_product')); ?>" class="menu-link">
                        <div data-i18n="Prod. más Vendidos">Prod. más Vendidos</div>
                      </a>
                    </li>
                  </ul>
                </li>
                <li class="menu-item <?php echo e(request()->is('purchases-expenses') || request()->is('purchases-provider') || request()->is('purchases-general') ? 'open active' : ''); ?>">
                  <a href="javascript:void(0);" class="menu-link menu-toggle">
                    <div data-i18n="Compras">Compras</div>
                  </a>
                  <ul class="menu-sub">
                    <li class="menu-item <?php echo e(request()->is('purchases-general') ? 'active' : ''); ?>">
                      <a href="<?php echo e(route('admin.purchases_general')); ?>" class="menu-link">
                        <div data-i18n="Compras General">Compras General</div>
                      </a>
                    </li>
                    <li class="menu-item <?php echo e(request()->is('purchases-provider') ? 'active' : ''); ?>">
                      <a href="<?php echo e(route('admin.purchases_provider')); ?>" class="menu-link">
                        <div data-i18n="Compras Proveedor">Compras Proveedor</div>
                      </a>
                    </li>
                    <li class="menu-item <?php echo e(request()->is('purchases-expenses') ? 'active' : ''); ?>">
                      <a href="<?php echo e(route('admin.purchases_expenses')); ?>" class="menu-link">
                        <div data-i18n="Gastos">Gastos</div>
                      </a>
                    </li>
                  </ul>
                </li>
                <li class="menu-item <?php echo e(request()->is('contacts-customers') || request()->is('contacts-providers') ? 'open active' : ''); ?>">
                  <a href="javascript:void(0);" class="menu-link menu-toggle">
                    <div data-i18n="Contactos">Contactos</div>
                  </a>
                  <ul class="menu-sub">
                    <li class="menu-item <?php echo e(request()->is('contacts-customers') ? 'active' : ''); ?>">
                      <a href="<?php echo e(route('admin.contact_customers')); ?>" class="menu-link">
                        <div data-i18n="Clientes">Clientes</div>
                      </a>
                    </li>
                    <li class="menu-item <?php echo e(request()->is('contacts-providers') ? 'active' : ''); ?>">
                      <a href="<?php echo e(route('admin.contact_providers')); ?>" class="menu-link">
                        <div data-i18n="Proveedores">Proveedores</div>
                      </a>
                    </li>
                  </ul>
                </li>
                <li class="menu-item <?php echo e(request()->is('inventories-items') ? 'open active' : ''); ?>">
                  <a href="javascript:void(0);" class="menu-link menu-toggle">
                    <div data-i18n="Inventario">Inventario</div>
                  </a>
                  <ul class="menu-sub">
                    <li class="menu-item <?php echo e(request()->is('inventories-items') ? 'active' : ''); ?>">
                      <a href="<?php echo e(route('admin.inventory_products')); ?>" class="menu-link">
                        <div data-i18n="Productos">Productos</div>
                      </a>
                    </li>
                  </ul>
                </li>
              </ul>
            </li>
            <li class="menu-item <?php echo e(request()->is('list-cashes') || request()->is('series') || request()->is('origins') || request()->is('destinations') || request()->is('business')? 'active open' : ''); ?>">
              <a href="javascript:void(0);" class="menu-link menu-toggle">
                <i class="menu-icon" data-feather="settings"></i>
                <div data-i18n="Configuración">Configuración</div>
              </a>
              <ul class="menu-sub">
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.business')): ?>
                <li class="menu-item <?php echo e(request()->is('business') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.business')); ?>" class="menu-link">
                    <div data-i18n="Empresa">Empresa</div>
                  </a>
                </li>
                <?php endif; ?>
                <li class="menu-item <?php echo e(request()->is('series') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.series')); ?>" class="menu-link">
                    <div data-i18n="Series">Series</div>
                  </a>
                </li>
                <li class="menu-item <?php echo e(request()->is('origins') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.origins')); ?>" class="menu-link">
                    <div data-i18n="Origenes">Origenes</div>
                  </a>
                </li>
                <li class="menu-item <?php echo e(request()->is('destinations') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.destinations')); ?>" class="menu-link">
                    <div data-i18n="Destinos">Destinos</div>
                  </a>
                </li>
                <li class="menu-item <?php echo e(request()->is('list-cashes') ? 'active' : ''); ?>">
                  <a href="<?php echo e(route('admin.list_cashes')); ?>" class="menu-link">
                    <div data-i18n="Cajas">Cajas</div>
                  </a>
                </li>
              </ul>
            </li>
          </ul>
        </aside>
        <!-- / Menu -->

        <!-- Layout container -->
        <div class="layout-page">
          <!-- Navbar -->
          <nav
            class="layout-navbar container-xxl navbar navbar-expand-xl navbar-detached align-items-center bg-navbar-theme"
            id="layout-navbar">
            <div class="layout-menu-toggle navbar-nav align-items-xl-center me-3 me-xl-0 d-xl-none">
              <a class="nav-item nav-link px-0 me-xl-4" href="javascript:void(0)">
                <i class="ti ti-menu-2 ti-sm"></i>
              </a>
            </div>

            <div class="navbar-nav-right d-flex align-items-center" id="navbar-collapse">
              <!-- Search -->
              <div class="navbar-nav align-items-center">
                <div class="nav-item navbar-search-wrapper mb-0">
                  <a class="nav-item nav-link search-toggler d-flex align-items-center px-0" href="javascript:void(0);"></a>
                </div>
              </div>
              <!-- /Search -->

              <ul class="navbar-nav flex-row align-items-center ms-auto">
                <!-- Style Switcher -->
                <li class="nav-item me-2 me-xl-0">
                  <a class="nav-link style-switcher-toggle hide-arrow" href="javascript:void(0);">
                    <i class="ti ti-md"></i>
                  </a>
                </li>
                <!--/ Style Switcher -->

                <!-- Quick links  -->
                <li class="nav-item dropdown-shortcuts navbar-dropdown dropdown me-2 me-xl-0">
                  <a
                    class="nav-link dropdown-toggle hide-arrow"
                    href="javascript:void(0);"
                    data-bs-toggle="dropdown"
                    data-bs-auto-close="outside"
                    aria-expanded="false">
                    <i class="ti ti-layout-grid-add ti-md"></i>
                  </a>
                  <div class="dropdown-menu dropdown-menu-end py-0">
                    <div class="dropdown-menu-header border-bottom">
                      <div class="dropdown-header d-flex align-items-center py-3">
                        <h5 class="text-body mb-0 me-auto">Atajos</h5>
                      </div>
                    </div>
                    <div class="dropdown-shortcuts-list scrollable-container">
                      <div class="row row-bordered overflow-visible g-0">
                        <div class="dropdown-shortcuts-item col">
                          <span class="dropdown-shortcuts-icon rounded-circle mb-2">
                            <i class="ti ti-file-invoice fs-4"></i>
                          </span>
                          <a href="<?php echo e(route('admin.reference_guides')); ?>" class="stretched-link" data-iduser="<?php echo e(Auth::user()['id']); ?>" data-idcash="<?php echo e(Auth::user()['idcaja']); ?>">Gestión de Encomiendas</a>
                          <small class="text-muted mb-0">Listado</small>
                        </div>
                        <div class="dropdown-shortcuts-item col">
                          <span class="dropdown-shortcuts-icon rounded-circle mb-2">
                            <i class="ti ti-users fs-4"></i>
                          </span>
                          <a href="<?php echo e(route('admin.clients')); ?>" class="stretched-link">Contactos</a>
                          <small class="text-muted mb-0">Gesti&oacute;n de Clientes</small>
                        </div>
                      </div>
                      <div class="row row-bordered overflow-visible g-0">
                        <div class="dropdown-shortcuts-item col">
                          <span class="dropdown-shortcuts-icon rounded-circle mb-2">
                            <i class="ti ti-chart-bar fs-4"></i>
                          </span>
                          <a href="<?php echo e(route('admin.home')); ?>" class="stretched-link">Dashboard</a>
                          <small class="text-muted mb-0">Panel Principal</small>
                        </div>
                        <div class="dropdown-shortcuts-item col">
                          <span class="dropdown-shortcuts-icon rounded-circle mb-2">
                            <i class="ti ti-settings fs-4"></i>
                          </span>
                          <a href="<?php echo e(route('admin.business')); ?>" class="stretched-link">Configuraci&oacute;n</a>
                          <small class="text-muted mb-0">Empresa</small>
                        </div>
                      </div>
                    </div>
                  </div>
                </li>
                <!-- Quick links -->

                <!-- Notification -->
                <li class="nav-item dropdown-notifications navbar-dropdown dropdown me-3 me-xl-1">
                  <a
                    class="nav-link dropdown-toggle hide-arrow"
                    href="javascript:void(0);"
                    data-bs-toggle="dropdown"
                    data-bs-auto-close="outside"
                    aria-expanded="false">
                    <i class="ti ti-bell ti-md"></i>
                    <span id="wrapper_badge_noti" class="badge bg-danger rounded-pill badge-notifications d-none"></span>
                  </a>
                  <ul class="dropdown-menu dropdown-menu-end py-0">
                    <li class="dropdown-menu-header border-bottom">
                      <div class="dropdown-header d-flex align-items-center py-3">
                        <h5 class="text-body mb-0 me-auto">Notificaciones</h5>
                      </div>
                    </li>
                    <li class="dropdown-notifications-list scrollable-container">
                      <ul class="list-group list-group-flush">
                        <li id="wrapper_f" class="list-group-item list-group-item-action dropdown-notifications-item d-none">
                          <a href="<?php echo e(route('admin.alerts_sale')); ?>">
                            <div class="d-flex">
                              <div class="flex-shrink-0 me-3">
                                <div class="avatar">
                                  <span class="avatar-initial rounded-circle bg-label-danger">
                                    <i class="fa fa-file-invoice"></i>
                                  </span>
                                </div>
                              </div>
                              <div class="flex-grow-1">
                                <h6 class="mb-1"></h6>
                                <small class="text-muted">Pendientes de envío</small>
                              </div>
                            </div>
                          </a>
                        </li>

                        <li id="wrapper_b" class="list-group-item list-group-item-action dropdown-notifications-item d-none">
                          <a href="<?php echo e(route('admin.alerts_sale')); ?>">
                            <div class="d-flex">
                              <div class="flex-shrink-0 me-3">
                                <div class="avatar">
                                  <span class="avatar-initial rounded-circle bg-label-warning">
                                    <i class="fa fa-file-alt"></i>
                                  </span>
                                </div>
                              </div>
                              <div class="flex-grow-1">
                                <h6 class="mb-1"></h6>
                                <small class="text-muted">Pendientes de envío</small>
                              </div>
                            </div>
                          </a>
                        </li>

                        <li id="wrapper_s" class="list-group-item list-group-item-action dropdown-notifications-item d-none">
                          <a href="<?php echo e(route('admin.alerts_stock')); ?>">
                            <div class="d-flex">
                              <div class="flex-shrink-0 me-3">
                                <div class="avatar">
                                  <span class="avatar-initial rounded-circle bg-label-primary">
                                    <i class="fa fa-boxes"></i>
                                  </span>
                                </div>
                              </div>
                              <div class="flex-grow-1">
                                <h6 class="mb-1"></h6>
                                <small class="text-muted">Productos por agotarse</small>
                              </div>
                            </div>
                          </a>
                        </li>

                        <li id="wrapper_e" class="list-group-item list-group-item-action dropdown-notifications-item d-none">
                          <a href="<?php echo e(route('admin.alerts_expiration')); ?>">
                            <div class="d-flex">
                              <div class="flex-shrink-0 me-3">
                                <div class="avatar">
                                  <span class="avatar-initial rounded-circle bg-label-info">
                                    <i class="fa fa-boxes"></i>
                                  </span>
                                </div>
                              </div>
                              <div class="flex-grow-1">
                                <h6 class="mb-1">2 PRODUCTOS</h6>
                                <small class="text-muted">Productos por vencer</small>
                              </div>
                            </div>
                          </a>
                        </li>
                        
                        <li id="wrapper_empty" class="list-group-item list-group-item-action dropdown-notifications-item d-none">
                          <div class="d-flex">
                            <div class="flex-shrink-0 me-3">
                              <div class="avatar">
                                <span class="avatar-initial rounded-circle bg-label-success">
                                  <i class="fa fa-check"></i>
                                </span>
                              </div>
                            </div>
                            <div class="flex-grow-1">
                              <h6 class="mb-1 mt-2">No tiene alertas pendientes</h6>
                            </div>
                          </div>
                        </li>

                      </ul>
                    </li>
                  </ul>
                </li>
                <!--/ Notification -->

                <li class="nav-item navbar-dropdown dropdown-user dropdown">
                  <a class="nav-link dropdown-toggle hide-arrow" href="javascript:void(0);" data-bs-toggle="dropdown">
                    <div class="avatar avatar-online">
                      <img src="<?php echo e(asset('assets/img/avatars/avatar.png')); ?>" width="10px" alt class="h-auto rounded-circle" />
                    </div>
                  </a>
                  <ul class="dropdown-menu dropdown-menu-end">
                    <li>
                      <a class="dropdown-item" href="<?php echo e(route('admin.home')); ?>">
                        <div class="d-flex">
                          <div class="flex-shrink-0 me-3">
                            <div class="avatar avatar-online">
                              <img src="<?php echo e(asset('assets/img/avatars/avatar.png')); ?>" width="10px" alt class="h-auto rounded-circle" />
                            </div>
                          </div>
                          <div class="flex-grow-1">
                            <span class="fw-semibold d-block"><?php echo e(Auth::user()['nombres']); ?></span>
                            <small class="text-muted">Admin</small>
                          </div>
                        </div>
                      </a>
                    </li>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin.prices', 'admin.faq')): ?>
                    <li>
                      <div class="dropdown-divider"></div>
                    </li>
                    <li>
                      <a class="dropdown-item" href="<?php echo e(route('admin.faq')); ?>">
                        <i class="ti ti-help me-2 ti-sm"></i>
                        <span class="align-middle">FAQ</span>
                      </a>
                    </li>
                    <li>
                      <a class="dropdown-item" href="<?php echo e(route('admin.prices')); ?>">
                        <i class="ti ti-currency-dollar me-2 ti-sm"></i>
                        <span class="align-middle">Precios</span>
                      </a>
                    </li>
                    <?php endif; ?>
                    <li>
                      <div class="dropdown-divider"></div>
                    </li>
                    <li>
                      <a class="dropdown-item" href="<?php echo e(route('login.logout')); ?>">
                        <i class="ti ti-logout me-2 ti-sm"></i>
                        <span class="align-middle"> Salir</span>
                      </a>
                    </li>
                  </ul>
                </li>
                <!--/ User -->
              </ul>
            </div>

            <!-- Search Small Screens -->
            <div class="navbar-search-wrapper search-input-wrapper d-none">
              <input
                type="text"
                class="form-control search-input container-xxl border-0"
                placeholder="Buscar..."
                aria-label="Search..." />
              <i class="ti ti-x ti-sm search-toggler cursor-pointer"></i>
            </div>
          </nav>

          <!-- / Navbar -->

          <!-- Content wrapper -->
          <div class="content-wrapper">
            <!-- Content -->
            <div class="container-xxl flex-grow-1 container-p-y">
              <?php echo $__env->yieldContent('content'); ?>
            </div>
            <!-- / Content -->
            <div class="content-backdrop fade"></div>
          </div>
          <!-- Content wrapper -->
        </div>
        <!-- / Layout page -->
      </div>

      <!-- Overlay -->
      <div class="layout-overlay layout-menu-toggle"></div>

      <!-- Drag Target Area To SlideIn Menu On Small Screens -->
      <div class="drag-target"></div>
    </div>
    <!-- / Layout wrapper -->

    <!-- Core JS -->
    <!-- build:js assets/vendor/js/core.js -->
    <script src="<?php echo e(asset('assets/vendor/libs/jquery/jquery.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/vendor/libs/popper/popper.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/vendor/js/bootstrap.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/vendor/libs/perfect-scrollbar/perfect-scrollbar.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/vendor/libs/node-waves/node-waves.js')); ?>"></script>

    <script src="<?php echo e(asset('assets/vendor/libs/hammer/hammer.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/vendor/libs/i18n/i18n.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/vendor/libs/typeahead-js/typeahead.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/vendor/libs/feather/feather.min.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/vendor/js/menu.js')); ?>"></script>
    <!-- endbuild -->

    <!-- Vendors JS -->
    <script src="<?php echo e(asset('assets/vendor/libs/apex-charts/apexcharts.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/vendor/libs/datatables-bs5/datatables-bootstrap5.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/vendor/libs/pnotify/pnotify.custom.js')); ?>"></script>
    <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
    <script src="<?php echo e(asset('assets/vendor/libs/block-ui/block-ui.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/vendor/libs/select2/select2.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/vendor/libs/moment/moment.js')); ?>"></script>


    <!-- Main JS -->
    <script src="<?php echo e(asset('assets/js/main.min.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/js/functions.min.js')); ?>"></script>

    <!-- Page JS -->
    <script src="<?php echo e(asset('assets/js/dashboards-ecommerce.min.js')); ?>"></script>
    <?php echo $__env->make('admin.js-home', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php echo $__env->yieldContent('scripts'); ?>
  </body>
</html>
<?php /**PATH C:\xampp\htdocs\courier\resources\views/admin/template.blade.php ENDPATH**/ ?>