@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')

@php $nomor = 1; @endphp @foreach ($operator as $dt) isactive == '0' ? 'class=not style=background-color:#ffe9ed;' : '' }}> @endforeach
No Nama Operator Gedung Action
{{ $nomor++ }} {{ $dt->nama_operator }} {{ $dt->nama_gedung ?? '-' }} {{-- button view --}} {{-- check authorize edit --}} @if ($authorize->edit == '1') {{-- check status active --}} @if ($dt->isactive == 1) {{-- button edit --}} @endif @endif {{-- check authorize delete --}} @if ($authorize->delete == '1')
@csrf @method('DELETE') {{-- button delete --}}
@endif
@endsection @push('js') @endpush