@extends('adminlte::page') @section('title', 'Detalle de Merma') @section('plugins.Datatables', true) @section('content_header')

Detalle de Merma

Detalle de la merma, peso total, fecha de registro, tipo de ingreso, presentacion, tipo de producto, peso de la merma.

@stop @section('content')

Detalle:

Fecha de Registro

{{ $merma->created_at->format('d/m/Y H:i') }}

Peso Total

{{ number_format($merma->total_peso, 2) }} kg

@foreach ($merma->detalles as $detalle) @endforeach
# Tipo Ingreso Producto Presentacion Tipo de Producto Peso Merma
{{ $detalle->id }} {{ $tipoIngreso = [1 => 'CAMION', 2 => 'POR STOCK', 4 => 'BENEFICIADO'][$detalle->tipo_ingreso] ?? 'N/D' }} {{ $detalle->presentacion }} {{ $detalle->tipo }} {{ $detalle->peso }}
Lista de Mermas
@stop @section('css') @endsection @section('js') @include('partials.data_export_js') @stop