@php $table_id = $table.'_id'; @endphp
@if($fields) @foreach($fields as $field)
@if($field->Type == "int(12)")
@php
$tableName = getTableNameByFieldName($field->Field);
$fieldName = $tableName;
@endphp
@elseif($field->Type == "varchar(300)")
@elseif($field->Type == "varchar(400)")
@elseif ($field->Type == "int(13)")
@elseif($field->Type == "text")
@elseif($field->Type == "tinyint(1)")
@else
@if($field->Field == $table_id || $field->Field == 'deleted_at' || $field->Field == 'updated_at' || $field->Field == 'created_at')
@else
@endif
@endif
@endforeach @endif