@include('pdf.purchase.header')

Suplidor

@if(!empty($invoice->supplier->full_name))

Nombre: {{ $invoice->supplier->full_name }}

@endif @if(!empty($invoice->supplier->telephone))

Tel: {{ $invoice->supplier->telephone }}

@endif @if(!empty($invoice->supplier->cellphone))

Cel: {{ $invoice->supplier->cellphone }}

@endif @if(!empty($invoice->supplier->address))

Dirección: {{ $invoice->supplier->address }}

@endif @if(!empty($invoice->supplier->email))

Email: {{ $invoice->supplier->email }}

@endif
{{--

Transporte

@if(!empty($invoice->driver->full_name))

Chofer: {{ $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
--}}
{{-- Tabla de Ítems --}} @php $suma_total = 0; @endphp @foreach($invoice->items as $item) @php $suma_total += $item->amount_total; @endphp @endforeach
Descripción Unidad Precio Unitario Subtotal Impuesto Total
{{ $item->description }} {{ $item->unity->description }} {{ number_format($item->price_unit, 2) }} {{ number_format($item->price_total, 2) }} {{ number_format($item->tax_total, 2) }} {{ number_format($item->amount_total, 2) }}
Total General: {{ number_format($suma_total, 2) }}
Notas: {{$invoice->note}}






Entregado por
Recibido por