@extends('layouts.main') @push('styles') @endpush @section('content')
{{ $title }}
{{-- Show translate fields --}} @php $translate = $banner->translate; if (is_string($translate)) { $translate = json_decode($translate, true); } @endphp @if (is_array($translate)) @foreach($translate as $lang => $fields) @foreach ($fields as $tKey => $tVal) @endforeach @endforeach @else @endif
{{ __('ID') }} {{ $banner->id }}
{{ __('Is Active') }} @if($banner->is_active) {{ __('Yes') }} @else {{ __('No') }} @endif
{{ __('Translate') }}
{{ strtoupper($lang) }}
{!! __('validation.attributes.' . $tKey) == 'validation.attributes.' . $tKey ? $tKey : __('validation.attributes.' . $tKey) !!} {!! $tVal !!}
{{ __('translate') }} {{ $banner->translate }}
{{ __('Link') }} {{ $banner->link }}
{{ __('Image') }} Banner Image
{{ __('validation.attributes.created_by') }} {{ $banner->created_by }}
{{ __('validation.attributes.updated_by') }} {{ $banner->updated_by }}
{{ __('validation.attributes.created_at') }} {{ $banner->created_at }}
{{ __('validation.attributes.updated_at') }} {{ $banner->updated_at }}
@endsection