@include('pdf.invoice.header')
Nombre: {{ $invoice->client->name }}
@endif @if (!empty($invoice->client->phone))Tel: {{ $invoice->client->phone }}
@endif @if (!empty($invoice->client->cellphone))Cel: {{ $invoice->client->cellphone }}
@endif @if (!empty($invoice->client->address))Dirección: {{ $invoice->client->address }}
@endif @if (!empty($invoice->client->email))Email: {{ $invoice->client->email }}
@endifChofer: {{ $invoice->driver->full_name }}
@endif @if (!empty($invoice->bus->ficha))Ficha: {{ $invoice->bus->ficha }}
@endif @if (!empty($invoice->bus->matricula))Matrícula: {{ $invoice->bus->matricula }}
@endif @if (!empty($invoice->bus->modelo))Modelo: {{ $invoice->bus->modelo }}
@endif @if (!empty($invoice->bus->marca))Marca: {{ $invoice->bus->marca }}
@endif @if (!empty($invoice->bus->color))Color: {{ $invoice->bus->color }}
@endif| Descripción | @if ($invoice->client->type == 'company')LP | @endifCantidad | Precio Unitario | Total |
|---|---|---|---|---|
| {{ $item->description }} | @if ($invoice->client->type == 'company'){{ $item->product->lp }} | @endif{{ number_format($item->quantity, 0) }} | {{ $currency }} {{ number_format($item->unit_price, 2) }} | {{ $currency }} {{ number_format($item->total, 2) }} |
| Total LP: | {{ number_format($suma_lp) }} | |||
| Total en USD: | {{ number_format($invoice->subtotal_usd) }} | |||
| Total en Pesos: | {{ number_format($invoice->subtotal_rd) }} | |||
| Monto a pagar en USD: | {{ number_format($invoice->total_usd, 2) }} | |||
| Monto a pagar en Pesos: | {{ number_format($invoice->total_rd) }} | |||
| Notas: {{ $invoice->notes }} | ||||
| Total en USD: | {{ number_format($invoice->subtotal_usd) }} | |||
| Total en Pesos: | {{ number_format($invoice->subtotal_rd) }} | |||
| Monto a pagar en USD: | {{ number_format($invoice->total_usd, 2) }} | |||
| Monto a pagar en Pesos: | {{ number_format($invoice->total_rd) }} | |||
| Notas: {{ $invoice->notes }} | ||||