{{ $corral['corral_nombre'] }}
@if($corral['estado'] === 'sin_alimentacion')
⚠ Sin alimentacion
@elseif($corral['estado'] === 'sin_rechazo_hoy')
⚠ {{ $corral['mensaje'] }}
@endif
|
{{ $corral['animales'] }} |
@if($corral['sin_alimentacion'])
Sin registro |
— |
@else
@foreach($corral['totales_por_unidad'] as $tu)
{{ number_format($tu['ofrecido'], 1) }} {{ $tu['unidad'] }}
@if(!$loop->last) @endif
@endforeach
|
@foreach($corral['totales_por_unidad'] as $tu)
@continue($tu['unidad'] === 'L')
@if($tu['consumido'] !== null)
{{ number_format($tu['consumido'], 1) }} {{ $tu['unidad'] }}
@else
—
@endif
@if(!$loop->last) @endif
@endforeach
|
@foreach($corral['totales_por_unidad'] as $tu)
@if($tu['residual'] !== null)
{{ number_format($tu['residual'], 1) }} {{ $tu['unidad'] }}
@else
—
@endif
@if(!$loop->last) @endif
@endforeach
|
@if($corral['rechazo'] === null)
—
@elseif($corral['rechazo'] == 0 || $corral['rechazo'] > $resumen['rechazo_maximo'])
{{ $corral['rechazo'] }}%
@elseif($corral['rechazo'] > $resumen['rechazo_minimo'])
{{ $corral['rechazo'] }}%
@else
{{ $corral['rechazo'] }}%
@endif
|
@endif
@if(!$corral['sin_alimentacion'] && count($corral['productos']) > 1)
@php $subBg = ($i % 2 === 0) ? '#fafafa' : '#eeeeee'; @endphp