{{ $config->business_name }}

@if($config->rnc)

RNC: {{ $config->rnc }}

@endif @if($config->address)

{{ $config->address }}

@endif @if($config->phone)

Tel: {{ $config->phone }}

@endif

FACTURA

Fecha: {{ $sale->created_at->format('d/m/Y') }}
Hora: {{ $sale->created_at->format('h:i A') }}
Cajero: {{ $sale->user->name }}
Factura #: {{ $sale->id }}
@foreach($sale->details as $detalle) @endforeach
Cant Desc. Total
{{ number_format($detalle->quantity, 0) }} {{ $detalle->product->name }} {{ number_format($detalle->subtotal / 1.18, 2) }}
Subtotal: {{ number_format($sale->total / 1.18, 2) }}
ITBIS (18%): {{ number_format($sale->total - ($sale->total / 1.18), 2) }}
TOTAL RD$: {{ number_format($sale->total, 2) }}
Pagado con: {{ $sale->payment_method }}
Entregado: {{ number_format($sale->amount_paid, 2) }}
Cambio: {{ number_format($sale->change_given, 2) }}