@extends('layout.app') @section('contenido')
@if ($reporte->revisado || in_array(auth()->user()->role->id, [1, 2, 3, 4])) {{-- yogurt --}} @if ($reporte->producto->categoriaProducto->tipo == 'yogurts') @endif {{-- FIN yogurt --}} {{-- jugos --}} @if ($reporte->producto->categoriaProducto->tipo == 'jugos') @endif {{-- FIN jugos --}} {{-- lacteas --}} @if ($reporte->producto->categoriaProducto->tipo == 'lacteas') @endif {{-- FIN lacteas --}} @if ($reporte->producto->categoriaProducto->grupo == 'UHT') {{-- UHT --}} {{-- FIN UHT --}} @endif @else

{{ $reporte->revisado ? 'Revisado' : 'No Revisado' }} @if ($reporte->estado != 'Completado') , Aun en Proceso @endif

@if (auth()->user()->role->rolModuloPermisos->where('modulo_id', 11)->where('permiso_id', 5)->isNotEmpty()) @if ($reporte->estado == 'Completado' && !$reporte->revisado)
@csrf
@endif @endif
@endif
ORP : {{ $reporte->codigo }}

Producto: {{ $reporte->producto->codigo }} - {{ $reporte->producto->nombre }}

Lote: {{ $reporte->lote / 1 }}

Raciones: {{ $reporte->lote * $reporte->producto->norma }}

Fecha de Vencimiento: @if ($reporte->fecha_vencimiento1) {{ \Carbon\Carbon::parse($reporte->fecha_vencimiento1)->isoFormat('DD-MM-YY ', 0, 'es') }} @endif @if ($reporte->fecha_vencimiento2) - {{ \Carbon\Carbon::parse($reporte->fecha_vencimiento)->isoFormat('DD-MM-YY ', 0, 'es') }} @endif

Estado: {{ $reporte->estado }}

En Almacen:

@endsection