@php $currency = $brandCurrency; @endphp
{{ $sale->address->address }} - {{ $sale->address->state }}
@endif @endif @if ($sale->type_sale == 'Retiro'){{ $sale->company->name }}
{{ $sale->company->address }} - {{ $sale->company->commune }}
@endif{{ $sale->status == 'Pagada' ? 'Entregado' : ($sale->status == 'Listo Retiro' ? 'Listo Para Retiro' : ($sale->status == 'Sin Confirmar' ? 'Esperando Confirmación' : $sale->status)) }}
{{ \Carbon\Carbon::create($sale->created_at)->format('d/m/y H:i') }}
{{ $detail->quantity }}
X {{ $detail->name }}
@foreach ($detail->optionsDetails as $option)
* {{ $option->name }}
@endforeach
SubTotal: {{ $currency['symbol'] }} {{ number_format($sale->subtotal, $currency['decimals'], $currency['decimal_separator'], $currency['thousands_separator']) }}
Propina: {{ $currency['symbol'] }} {{ number_format($sale->tip, $currency['decimals'], $currency['decimal_separator'], $currency['thousands_separator']) }}
Despacho: {{ $currency['symbol'] }} {{ number_format($sale->price_delivery, $currency['decimals'], $currency['decimal_separator'], $currency['thousands_separator']) }}
Descuento: {{ $currency['symbol'] }} {{ number_format($sale->discount, $currency['decimals'], $currency['decimal_separator'], $currency['thousands_separator']) }}
Total: {{ $currency['symbol'] }} {{ number_format($sale->total, $currency['decimals'], $currency['decimal_separator'], $currency['thousands_separator']) }}