@include('layout.estilos')
@auth

{{ Auth::user()->name }}

{{ Auth::user()->email }}

@endauth
@auth
@csrf
@endauth @auth shopping_cart 0 @endauth @guest Iniciar Sesión Registrarse @endguest
@auth
📍Enviar a {{ Auth::user()->address }} @endauth
Todo @foreach($categorias_global ?? [] as $categoria) {{ $categoria->name }} @endforeach
@auth shopping_cart 0 @endauth @guest Iniciar Sesión Registrarse @endguest
@auth
location_on Enviar a : {{ Auth::user()->address }}
@if (Auth::user()->prioridad == 5) point_of_sale Ventas POS @endif @if (Auth::user()->prioridad == 7) restaurant_menu Cocina @endif @if (Auth::user()->prioridad == 10) point_of_sale Ventas POS restaurant_menu Cocina restaurant_menu Productos restaurant_menu Inventarios @endif
@endauth

Menú

@auth

{{ Auth::user()->name }}

{{ Auth::user()->email }}

@endauth
@auth @endauth
grid_view
Todo
@foreach($categorias_global ?? [] as $categoria)
category
{{ $categoria->name }}
@endforeach

{{ $titulo_seccion ?? 'Recomendado Para Ti' }} Ver todo

@guest Iniciar Sesión Registrarse @endguest
@if (session('success'))
{{ session('success') }}
@endif
@foreach($productos ?? [] as $producto)
@auth @endauth
{{ $producto->nombre }}
L. {{ number_format($producto->precio, 2) }}
L. {{ number_format($producto->precio, 2) }}
(99)
@auth
@csrf
@else @endauth
@endforeach
{{-- Paginación --}} @if ($productos->hasPages())
{{-- Anterior --}} @if ($productos->onFirstPage()) ‹ @else ‹ @endif {{-- Números --}} @foreach ($productos->getUrlRange(1, $productos->lastPage()) as $page => $url) @if ($page == $productos->currentPage()) {{ $page }} @else {{ $page }} @endif @endforeach {{-- Siguiente --}} @if ($productos->hasMorePages()) › @else › @endif
@endif

auto_awesome Destacados

@auth

receipt_long Mis Pedidos

@if(isset($pedidos) && $pedidos->count() > 0)
@foreach($pedidos as $pedido)
{{-- Encabezado del pedido --}}
package_2 Pedido #{{ $pedido->id }} · {{ $pedido->created_at->format('d/m/Y') }}
@if($pedido->status === 'despachado') ✅ Despachado @else ⏳ Pendiente @endif
{{-- Items del pedido --}}
@foreach($pedido->items as $item)
@if($item->product && $item->product->imagen) @else inventory_2 @endif

{{ $item->product->nombre ?? 'Producto eliminado' }}

Cant: {{ $item->quantity }} × L. {{ number_format($item->unit_price, 2) }}

L. {{ number_format($item->total, 2) }}
@endforeach
{{-- Pie: total y fecha de despacho --}}
@if($pedido->fecha_despacho) local_shipping Despachado el {{ \Carbon\Carbon::parse($pedido->fecha_despacho)->format('d/m/Y') }} @else 📦 En preparación @endif
Total: L. {{ number_format($pedido->total, 2) }}
@endforeach
@else
inbox

Aún no tienes pedidos

Cuando realices un pedido aparecerá aquí

@endif @endauth

Únete a Nuestra Comunidad

{{ $empresa->eslogan ?? 'Optimus' }}