@extends('adminlte::page') @section('title', 'Reporte de Clientes') @section('plugins.Select2', true) @section('content_header')

Reporte de Clientes

@stop @section('content')

Filtros de búsqueda

@csrf

@php $tiposPollo = \App\Models\TipoPollo::getAll(); @endphp @foreach($tiposPollo as $tipo) @endforeach @foreach ($clientes as $cliente) @php // Obtener precios dinámicamente por tipo de pollo $preciosPorTipo = $cliente->getPreciosPorTipoPollo(1); @endphp @foreach($preciosPorTipo as $precioData) @endforeach @endforeach
# N° Documento Cliente Ubicación CelularPrecio {{ $tipo->descripcion }}
{{ $cliente->id }} {{ $cliente->documento }} {{ $cliente->razon_social }} {{ $cliente->direccion }} {{ $cliente->celular }} @if($precioData['tiene_precio']) {{ number_format($precioData['precio'], 2) }} @else — @endif
@endsection @section('css') @endsection @section('js') @stop