{{ htmlspecialchars('Distribucciones El Puerto 2016, S.L')}}
Nif {{ htmlspecialchars('B72306848') }}
Razón Social {{ htmlspecialchars('Distribucciones El Puerto 2016, S.L') }}
Dirección {{ htmlspecialchars('C\ Calvario, nº 27') }}, {{ htmlspecialchars('El Puerto de Santa Maria') }}-{{ htmlspecialchars('11500') }}
Teléfono {{ htmlspecialchars('645 52 26 84 - 655 03 09 21') }}
IBAN {{ htmlspecialchars('ES24 2100 3986 1102 0014 5464') }}
Factura {{ $serie }}
@if(!empty($negativa))
{{ $negativa }}
@endif
{{ $client->nombreComercial}}
Nif {{ $client->nif }}
Razón Social {{ $client->razonSocial }}
Dirección {{ $client->direccion }}, {{ $client->ciudad }} {{ $client->codigoPostal }}
Teléfono {{ $client->telf }}
Fecha {{ date('d-m-Y', strtotime($date)) }}
@if(count($albaranes) > 1)
Albaranes {{ implode(', ', $albaranes) }}
@endif

@foreach($products as $product) @endforeach
@foreach($comodins as $product) @endforeach
ID Nombre Cantidad Precio/Unid (€) Total (€) IVA (%) Lote
{{ $product->id }} {{ $product->name }} {{ $product->quantity }} {{ number_format($product->price, 2) }} €/Und {{ number_format($product->quantity * $product->price, 2) }} € {{ $product->iva }}% {{ $product->lote }}
N/A {{ $product->name }} {{ $product->quantity }} {{ number_format($product->price, 2) }} €/Und {{ number_format($product->quantity * $product->price, 2) }} € {{ $product->iva }}% {{ $product->lote }}

@foreach($basesPorIva as $iva => $details) @endforeach @foreach($ivas as $iva => $amount) @endforeach @foreach($basesPorIva as $iva => $details) @if ($recargo > 0 & ($iva == 10 || $iva == 21)) @php $recargoPercent = $iva == 10 ? 1.4 : 5.2; $recargoPrice = $details['base'] * ($recargoPercent / 100); @endphp @endif @endforeach
BASE ({{$iva}}%) {{ number_format($details['base'], 2) }} €
IVA ({{ $iva }}%) {{ number_format($amount, 2) }} €
Recargo_{{$iva}}%IVA ({{$recargoPercent}}%) {{ number_format($recargoPrice, 2) }} €
TOTAL {{ number_format($total, 2) }} €