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

@foreach ($listloker as $loker_id => $lokers) @endforeach
No Jenis Loker Gedung Lokasi Kode Lemari Jumlah Pintu Detail Pintu Action
{{ $loop->iteration }} {{ $lokers[0]->nama_loker }} {{ $lokers[0]->nama_gedung }} {{ $lokers[0]->nama_lokasi }} {{ $lokers[0]->kode_lemari }} {{ $lokers[0]->jumlah_pintu }} @foreach ($lokers as $pintu) @endforeach
Kode Pintu Qty Default Qty Stok Qty User Pengecekan
{{ $pintu->kodepintu }} {{ $pintu->qty_default }} {{ $pintu->qty_stock }} {{ $pintu->qty_user }} {{ $pintu->pengecekan }}
@if ($authorize->edit == '1') @if ($lokers[0]->isactive == 1) @endif @endif @if ($authorize->delete == '1')
@csrf @method('DELETE') {{-- button delete --}}
@endif
{{-- check flag js on dmenu --}} @if ($jsmenu == '1') @if (view()->exists("js.{$dmenu}")) @push('addjs') {{-- file js in folder (resources/views/js) --}} @include('js.' . $dmenu) @endpush @else @push('addjs') @endpush @endif @endif @endsection @push('js') @endpush