@extends('adminlte::page') @section('title', config('app.name') . ' - Inventario') @section('plugins.Datatables', true) @section('content_header')

Inventario

@stop @section('content')

Resumen General

Total Pollos {{ number_format($inventarios->sum('total_pollos'), 0) }} unidades
Total Peso {{ number_format($inventarios->sum('total_peso'), 2) }} kg

Inventario Actual

@foreach ($inventarios as $inventory) @endforeach
ID Tipo Ingreso Presentación Tipo Cantidad Pollos Total Peso (kg) Acción
{{ $inventory->id }} @php $tipoIngreso = $inventory->tipo_ingreso_description(); @endphp {{ $tipoIngreso }} {{ $inventory->presentacion_pollo_descripcion }} {{ $inventory->tipo_pollo_descripcion }} {{ number_format($inventory->total_pollos, 0) }} {{ number_format($inventory->total_peso, 2) }} @if (($inventory->presentacion_pollo_id == 1 && $inventory->total_pollos > 0) || $inventory->total_peso > 0) @else - @endif
@stop @section('css') @stop @section('js') @stop