@extends('adminlte::page') @section('title', 'Guías de Ingreso - ' . ($empresa->razon_social ?? 'Sede')) @section('plugins.Sweetalert2', true) @section('plugins.Datatables', true) @section('content_header')
| ID | Fecha Ingreso | Tipo Ingreso | N° Guía | Lugar Procedencia | N° Total de Aves | Peso Bruto | Peso Tara | Peso Neto | Estado | Acciones |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $guia['id'] ?? '-' }} | {{ isset($guia['fecha']) ? \Carbon\Carbon::parse($guia['fecha'])->format('d/m/Y') : '-' }} | @php $tipoIngreso = $guia['tipo_ingreso'] ?? 0; $tipoIngresoTexto = match($tipoIngreso) { 1 => 'CAMIÓN', 2 => 'STOCK', default => 'DESCONOCIDO' }; @endphp{{ $tipoIngresoTexto }} | {{ $guia['numero_guia'] ?? 'Sin número' }} | {{ $guia['lugar_procedencia'] ?? '-' }} | {{ $guia['totales']['cantidad_total_pollos'] ?? '-' }} | {{ $guia['peso_bruto'] ?? '-' }} | {{ $guia['peso_tara'] ?? '-' }} | {{ $guia['peso_neto'] ?? '-' }} | @if($guia['estado'] == 1) PROCESADA @else ANULADO @endif |
|