@extends('template.layoutAdmin', ['activeButton' => 'inventario']) @section('style') @endsection @section('title') {{ trans('inventario.inventario') }} @endsection @section('cabecera')
{{ $tag->nombre }} | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Categoria | {{ trans('inventario.nombre') }} | @foreach ($bodegas as $bodega){{ $bodega->nombre }} | @endforeach{{ trans('inventario.existencia_unidad') }} | {{ trans('inventario.existencia_paquete') }} | {{ trans('inventario.valor') }} | {{ trans('inventario.valorTotal') }} | {{ trans('inventario.estado') }} | {{ trans('inventario.opciones') }} | ||
{{ $inventario->funInventarioTags->funTag[0]->nombre }} | @elseNo tiene categoriass | @endif{{ $inventario->presentacion }} | @foreach ($bodegas as $bodega)@foreach ($inventario->relExistenciaBodega as $existBodg) @if (isset($existBodg->existenciaUnidad)) @if ($existBodg->idBodega == $bodega->idBodega && $existBodg->existenciaUnidad != null) {{ $existBodg->existenciaUnidad }} @else {{-- @if ($existBodg->existenciaUnidad == null) 0 @endif --}} @endif @endif @endforeach {{ $inventario->funForma->nombre }} | @endforeach{{ $inventario->existenciaUnidad }} {{ $inventario->funForma->nombre }} | @if (isset($inventario->funUnidad)){{ round($inventario->existenciaPaq, 2) . ' ' . ($inventario->fraccionado == 0 ? $inventario->funForma->nombre : $inventario->funUnidad->nombre) }} | @else{{ round($inventario->existenciaPaq, 2) . ' ' . ($inventario->fraccionado == 0 ? '' : '') }} | @endif{{ App\Helpers\monedaH::getCurrentSimbol() }} {{ $precioTotal[$inventario->idInventario] }} | {{ App\Helpers\monedaH::getCurrentSimbol() }} {{ $precioTotalProductoConjunto[$inventario->idInventario] }} | @if ($inventario->state == 1) {{ trans('inventario.activo') }} @elseif($inventario->state == 0) {{ trans('inventario.inactivo') }} @endif @if ($inventario->state == 3) {{ trans('inventario.agotado') }} @endif | |
{{ trans('inventario.no_hay_registros_') }} | ||||||||||
No tiene categoria | {{ $inventario->presentacion }} | @foreach ($inventario->existenciasBodega as $existBodg){{ $existBodg->existenciaUnidad }} @if ($inventario->fraccionado == 1) ({{ round($existBodg->existenciaPaq, 2) }}) @endif | @endforeach{{ $inventario->existenciaUnidad }} {{ $inventario->fraccionado == 0 ? $inventario->funForma->nombre : $inventario->funUnidad->nombre }} | {{ round($inventario->existenciaPaq, 2) . ' ' . $inventario->funForma->nombre }} | {{ App\Helpers\monedaH::getCurrentSimbol() }} {{ $precioTotal[$inventario->idInventario] }} | {{ App\Helpers\monedaH::getCurrentSimbol() }} {{ $precioTotalProductoConjunto[$inventario->idInventario] }} | @if ($inventario->state == 1) {{ trans('inventario.activo') }} @elseif($inventario->state == 0) {{ trans('inventario.inactivo') }} @endif @if ($inventario->state == 3) {{ trans('inventario.agotado') }} @endif | |||
{{ trans('inventario.no_hay_registros_') }} |