@extends('layouts.' . ($ajax ? 'ajax' : 'app'), [ 'title' => trans('entities/inventories.show.title', ['name' => $entity->name]), 'description' => '', 'breadcrumbs' => [ ['url' => $entity->url('index'), 'label' => trans($entity->pluralType() . '.index.title')], ['url' => $entity->url('show'), 'label' => $entity->name], __('crud.tabs.inventory') ] ]) @inject('campaign', 'App\Services\CampaignService') @section('content') @include('partials.errors')
{{ __('entities/inventories.show.helper') }}
| {{ __('crud.fields.item') }} | {{ __('entities/inventories.fields.position') }} | {{ __('entities/inventories.fields.amount') }} | {{ __('entities/inventories.fields.description') }} | @if (Auth::check()){{ __('crud.fields.visibility') }} | @can('update', $entity->child){{ __('entities/inventories.actions.add') }} | @endcan @endif|
|---|---|---|---|---|---|---|
| {{ $item->item->name }} | {{ $item->position }} | {{ $item->amount }} | {{ $item->description }} | @if (Auth::check())@include('cruds.partials.visibility', ['model' => $item]) | @can('update', $entity->child){!! Form::open(['method' => 'DELETE', 'route' => ['entities.inventories.destroy', 'entity' => $entity, 'inventory' => $item], 'style' => 'display:inline', 'id' => 'delete-form-' . $item->id]) !!} {!! Form::close() !!} | @endcan @endif