@extends('_version_02.commons.layouts.admin') @section('content') @include('_version_02.commons.layouts.partials._alert')
@php $priority_counter = 1 ; @endphp @php $info_cols = ['house_fee_items','landlord_information','house_other_information']; @endphp @foreach($cols as $col) @if($col != 'store_id') @if($col == 'id') @elseif(in_array($col,$info_cols)) @elseif(str_contains($col, '_id')) @else @endif @endif @php $priority_counter ++ ; @endphp @endforeach @php $priority_counter = 1 ; @endphp @foreach($model as $index => $row) @foreach($row->toArray() as $key => $value) @if($key == 'status') @elseif(str_contains($key, '_id')) @elseif($key == 'house_fee_items') @elseif($key == 'landlord_information' || $key == 'house_other_information') @elseif($key != 'id') @endif @endforeach @include('_version_02.commons.layouts.partials._table_action_column') @endforeach
#{{App\Language::trans(ucwords(str_replace('_', ' ', $col)))}}{{App\Language::trans(ucwords(str_replace('_id', '', $col)))}}{{App\Language::trans(ucwords(str_replace('_', ' ', $col)))}}{{App\Language::trans('Action')}}
{{$index+1}}{{$row->display_status_string($key)}}{{$row->display_relationed($key, 'name')}} @php $items = json_decode($value,true); foreach($items as $item) { echo ''; } //dd($value); @endphp
'.ucwords(str_replace('_', ' ',$item)).'
@php $items = json_decode($value,true); foreach($items as $key => $value) { echo ''; } //dd($value); @endphp
'.ucwords(str_replace('_', ' ',$key)).''.$value.'
{{$value}}
@endsection @section('script') @endsection