@extends('adminlte::page') @section('title', config('app.name') . ' - Detalle de Ajustes') @section('plugins.Datatables', true) @section('content_header')
| Fecha | Usuario | Tipo de Ingreso | Tipo de Ajuste | Tipo de Pollo | Cantidad | Peso (kg) | Descripción |
|---|---|---|---|---|---|---|---|
| {{ $ajuste->created_at->format('d/m/Y') }} | {{ $ajuste->user->name }} | @php $tipoIngreso = $ajuste->tipo_ingreso_id == 1 ? 'CAMION' : ($ajuste->tipo_ingreso_id == 2 ? 'STOCK' : 'BENEFICIADO'); @endphp {{ $tipoIngreso }} | @if($ajuste->tipo_ajuste == 1) Ingreso @elseif($ajuste->tipo_ajuste == 2) Salida @elseif($ajuste->tipo_ajuste == 3) Transferencia @else Otro @endif | {{ $ajuste->tipoPollo->descripcion ?? 'N/A' }} | {{ number_format($ajuste->cantidad_pollos, 0) }} | {{ number_format($ajuste->peso_neto, 2) }} | {{ $ajuste->descripcion }} |