@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) {{-- section content --}} @section('content') @include('layouts.navbars.auth.topnav', ['title' => ''])
List {{ $title_menu }}
{{-- alert --}} @include('components.alert')

{{-- retrieve table header --}} @foreach ($table_header as $header) @endforeach {{-- retrieve table detail --}} @foreach ($table_detail as $detail) @php $primary = ''; foreach ($table_primary as $p) { $primary == '' ? ($primary = $detail->{$p->field}) : ($primary = $primary . ':' . $detail->{$p->field}); } $vcount = $loop->iteration; @endphp isactive == '0' ? 'class=not style=background-color:#ffe9ed;' : '' }}> @foreach ($table_header as $field) @php $string = $field->field; @endphp {{-- field type enum --}} @if ($field->type == 'enum') @else @endif @endforeach @endforeach
No Action{{ $header->alias }}
{{ $loop->iteration }}
@if ($field->query != '') @php $data_query = DB::select($field->query); @endphp @foreach ($data_query as $q)
Warning: Undefined variable $q in /opt/lampp/htdocs/msjmagang/resources/views/master/mstdep/list.blade.php on line 131
{{ $detail->$string == $sAsArray[0] ? $sAsArray[1] : '' }} @endforeach @endif
{{ $detail->$string }}
@endsection @push('js') @endpush