@if ($cart && count($cart?->cartItems ?? []))
{{-- Productos del carrito --}}
Subtotal
${{ number_format($cart->subtotal, 2, '.', ',') }}
IVA 16%
${{ number_format($this->ivaAmount, 2, '.', ',') }}
@unless ($quotationMode)
Envío
${{ number_format($cart->shippment ?? 0, 2, '.', ',') }}
@endunless
{{-- Desglose de Ofertas/Cupones --}}
@if ($cart->offers->count() > 0)
@foreach ($cart->offers as $offer)
{{ $offer->name }}
@if ($offer->coupon_code)
({{ $offer->coupon_code }})
@endif
-${{ number_format($offer->amount, 2, '.', ',') }}
@endforeach
@endif
Gran total
${{ number_format($cart->total, 2, '.', ',') }}
Número de artículos: {{ $cart->qty ?? 0 }}
No hay carrito activo.