@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'Guest Lost & Found') @section('css') @endsection @section('content')
@if (count($datas) > 0) @foreach ($datas as $item) @php if ($item->status == 1) { $color = 'text-danger'; }elseif ($item->status == 2) { $color = 'text-success'; }else{ $color = 'text-warning'; } @endphp @endforeach @endif
Room Number Note Date Time Status Actions
{{$item->nomor_kamar}} {{$item->note}} {{dateFormat($item->date,'d-m-Y')}} {{dateFormat($item->losttime,'H:i:s')}} {{$item->status?config('custom.lostfound_status')[$item->status] : ''}}
{{--
@csrf @method('post') --}} {{--
--}}
@endsection @section('js') @endsection