{{ $config->business_name }}

@if($config->rnc)

RNC: {{ $config->rnc }}

@endif @if($config->address)

{{ $config->address }}

@endif @if($config->phone)

Tel: {{ $config->phone }}

@endif
@if($orden->mesa->is_internal)

USO INTERNO

@endif

{{ $tipo === 'factura' ? 'FACTURA' : 'PRE-CUENTA' }}

Fecha: {{ now()->format('d/m/Y') }}
Hora: {{ now()->format('h:i A') }}
Mesa: {{ $orden->mesa->name }}
Atendido por: {{ Auth::user()->name }}
@if($orden->cliente)
Cliente: {{ $orden->cliente }}
@endif @if($sale && $sale->id)
Factura #: {{ $sale->id }}
@endif
@foreach($orden->detalles as $detalle) @endforeach
Cant Desc. Total
{{ number_format($detalle->cantidad, 0) }} {{ $detalle->product->name }} @if($detalle->observaciones)
* {{ $detalle->observaciones }} @endif
{{ number_format($detalle->subtotal / 1.18, 2) }}
Subtotal: {{ number_format($orden->total / 1.18, 2) }}
ITBIS (18%): {{ number_format($orden->total - ($orden->total / 1.18), 2) }}
TOTAL RD$: {{ number_format($orden->total, 2) }}
@if($sale)
Pagado con: {{ $sale->payment_method }}
Entregado: {{ number_format($sale->amount_paid, 2) }}
Cambio: {{ number_format($sale->change_given, 2) }}
@endif