@extends('_version_02.commons.layouts.admin') @section('content') @include('_version_02.commons.layouts.partials._alert')
@php $priority_counter = 1 ; @endphp @foreach($cols as $col) @if($col != 'store_id') @if($col == 'id') @elseif(str_contains($col, '_id')) @elseif($col == 'power_mangement_start_charging_date') @if(App\Company::is_allow_to_access_module(App\Setting::LABEL_MODULE_POWER_MANAGEMENT)) @endif @else @endif @endif @php $priority_counter ++ ; @endphp @endforeach @php $priority_counter = 1 ; @endphp @foreach($model as $index => $row) @foreach($row->toArray() as $key => $value) @php if(!in_array($key,$cols)) { continue; } @endphp @if($key == 'photo') @elseif($key == 'status') @elseif($key != 'user_id' && $key != 'id') @endif @endforeach @endforeach
#{{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)}}{{$value}} {{App\Language::trans('Edit')}}
@endsection @section('script') @endsection