@extends('layouts.app') @section('content')
@include('flash::message')

{!! \UserHelper::getEntityName($entity, true) !!}

@lang('core::core.crud.back')
@if($prev_record) @lang('core::core.crud.prev') @endif @if($next_record) @lang('core::core.crud.next') @endif
@if($permissions['destroy'] == '' or Auth::user()->hasPermissionTo($permissions['destroy'])) {!! Form::open(['route' => [$routes['destroy'], $entity], 'method' => 'delete']) !!} {!! Form::button(trans('core::core.crud.delete'), [ 'type' => 'submit', 'class' => 'btn m--margin-right-10 btn-outline-danger btn-edit btn-crud', 'onclick' => "return confirm($.i18n._('are_you_sure'))" ]) !!} {!! Form::close() !!} @endif @if($permissions['update'] == '' or Auth::user()->hasPermissionTo($permissions['update']))
@lang($language_file.'.edit') @if(isset($customShowButtons) && count($customShowButtons) > 0) @endif
@endif
@if($show_fileds_count > 1 || $hasExtensions) @endif
@foreach($customShowButtons as $btn) {!! Html::customButton($btn) !!} @endforeach
@foreach($show_fields as $panelName => $panel) {{ Html::section($language_file,$panelName) }} @foreach($panel as $fieldName => $options) @if(isset($options['show_in_view']) && !$options['show_in_view']) @continue @endif @if(isset($entity->{$fieldName}) && $entity->{$fieldName} != '') {{ Html::renderField($entity,$fieldName,$options,$language_file) }} @endif @endforeach @endforeach @include('core::crud.partial.entity_created_at')
@foreach($relationTabs as $tabKey => $tab) @if(Auth::user()->hasPermissionTo($tab['permissions']['browse']))
@endif @endforeach @if($commentableExtension)
@include('core::extension.comments.list',['entity'=>$entity])
@endif @if($attachmentsExtension)
@include('core::extension.attachments.list',['entity'=>$entity,'permissions'=>$permissions])
@endif @if($actityLogDatatable != null )
@include('core::extension.activity_log.table')
@endif
@foreach($includeViews as $v) @include($v) @endforeach @endsection @push('css') @foreach($cssFiles as $file) @endforeach @endpush @push('scripts') @foreach($jsFiles as $jsFile) @endforeach @endpush