@include('pdf.partials.styles-unified')

REPORTE DE CLIENTES | {{ $empresa->name }}

Total de Clientes: {{ $records->count() }}

Generado: {{ now()->format('d/m/Y H:i:s') }}

@php $tiposPollo = \App\Models\TipoPollo::getAll(); $widthPrecio = $tiposPollo->count() > 0 ? (50 / $tiposPollo->count()) : 10; @endphp @foreach($tiposPollo as $tipo) @endforeach @php $index = 1; @endphp @forelse($records as $cliente) @php // Obtener precios dinámicamente por tipo de pollo $preciosPorTipo = $cliente->getPreciosPorTipoPollo(1); @endphp @foreach($preciosPorTipo as $precioData) @endforeach @empty @endforelse
Documento Razón Social Celular{{ $tipo->descripcion }}
{{ $index++ }} {{ $cliente->documento }} {{ $cliente->razon_social }} {{ $cliente->celular ?: '-' }} @if($precioData['tiene_precio']) S/ {{ number_format($precioData['precio'], 2) }} @else @endif
No hay clientes registrados