@extends('adminlte::page') @section('title', 'Guías de Ingreso - Todas las Sedes') @section('plugins.Sweetalert2', true) @section('plugins.Datatables', true) @section('content_header')
{{ $sede }}
| Sede | Fecha Ingreso | Tipo Ingreso | N° Guía | Lugar Procedencia | N° Total de Aves | Peso Bruto | Peso Tara | Peso Neto | Estado | Acciones |
|---|---|---|---|---|---|---|---|---|---|---|
|
{{ $guia['empresa_sede'] ?? '-' }}
{{ $guia['empresa_dominio'] ?? '-' }} |
{{ isset($guia['fecha_ingreso']) ? \Carbon\Carbon::parse($guia['fecha_ingreso'])->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'] ?? '-' }} | {{ $guia['lugar_procedencia'] ?? '-' }} | {{ $guia['totales']['cantidad_total_pollos'] ?? '-' }} | {{ isset($guia['peso_bruto']) ? number_format($guia['peso_bruto'], 2) : '-' }} kg | {{ isset($guia['peso_tara']) ? number_format($guia['peso_tara'], 2) : '-' }} kg | {{ isset($guia['peso_neto']) ? number_format($guia['peso_neto'], 2) : '-' }} kg | @if($guia['estado'] == 1) PROCESADA @else ANULADO @endif |
|