@extends('admin.layouts.app') @section('content')

{{ucfirst($table)}} Details

@if($records) @foreach ($records as $record) @foreach ($fields as $field) @php $field_name = $field->Field @endphp @if($field->Field == $table.'_id' || $field->Field == 'created_at' || $field->Field == 'updated_at' || $field->Field == 'deleted_at') @else
{{-- Specify the email address of your website. --}}
@if($field->Type == 'int(12)') @php $tableName = getTableNameByFieldName($field_name); @endphp
@else @if($field->Type == 'text')
@else @if($field->Type == 'varchar(300)')
@else @if( $field->Type == 'tinyint(1)') @if($record->$field_name == '1')
@else
@endif @else @if($field->Type == 'varchar(400)') @if(get_multiple_images($table,$record->$field_name))
@foreach(get_multiple_images($table,$record->$field_name) as $key => $value) @endforeach
@endif @else
@endif @endif @endif @endif @endif
@endif @endforeach @endforeach @endif
@endsection