@extends('layouts.app') @section('css') @endsection @section('header')
Ver refrigerador
@endsection @section('content') @include('error')
name : old("name") }}"/> @if($errors->has("name")) {{ $errors->first("name") }} @endif
location : old("location") }}"/> @if($errors->has("location")) {{ $errors->first("location") }} @endif
Regresar

Charolas

@if($refrigerator->trays->count() > 0) @foreach($refrigerator->trays as $i => $tray) @if($tray->products->count() > 0) @foreach($tray->products as $p) @endforeach @else @endif
Charola {{$i + 1}}{{ $p->name }}Sin productos Editar
@endforeach @else

No hay charolas definidas

@endif
@endsection @section('scripts') @endsection