@foreach($columns as $column)
@set('col_name', $column['name'])
@set('value', empty($col_name) ? '' : $item->$col_name)
@if($column['type'] == 'hidden')
@else
@if($column['type'] == 'text')
@elseif($column['type'] == 'date')
@elseif($column['type'] == 'mkd')
@endif
@endif
@endforeach
@if(!empty($imgup) && $imgup)
@set('current_image', "/uploads/$model/$id.jpg")
@if(file_exists(base_path() . '/public' . $current_image))
@else
(No Image Set)
@endif
@endif