diff --git a/resources/views/dashboard/booking.blade.php b/resources/views/dashboard/booking.blade.php index 63745d1..c4b4c65 100644 --- a/resources/views/dashboard/booking.blade.php +++ b/resources/views/dashboard/booking.blade.php @@ -1,64 +1,54 @@ -@extends('layouts._app') +@extends('layouts._dashboard') -@section('title') -Perizinan Akses Gedung -@endsection +@section('header', 'Approval booking ruangan') -@section('css') - -@endsection +@section('content') -@section('header') -Perizinan Akses Gedung -@endsection +
+ + + + + + + + + + + + + @foreach($bookings as $booking) + + + + + + + + + + + + @endforeach +
NoGedungRuanganTanggalJam MasukJam KeluarDeskripsistatusAction
{{ $loop->iteration }}{{ $booking->room->building->name }}{{ $booking->room->name }}{{ $booking->date }}{{ $booking->in }}{{ $booking->out }}{{ $booking->description }}{{ $booking->status }} + @if ($booking->status == "booking") +
+ @csrf + +
+
+ @csrf + +
+ @endif +
+ +
-@section('content')
-
-

Untuk Menjaga Keamanan dan Kenyamanan, Dimohon untuk melakukan perizinan terlebih dahulu dengan mengisi form sebagai berikut :

-
- @csrf -
- - -
-
- - -
-
- -
-
- -
-
- -
-
-
-
- -

* *Dikarenakan sedang terjadi pandemi COVID-19, Dimohon untuk memberi surat Rapid/Swab/Antigen.

- -
- -
-
-
- +
+ {{ $bookings->links('pagination::bootstrap-4') }}
-@endsection -@section('js') - - - @endsection \ No newline at end of file diff --git a/resources/views/dashboard/index.blade.php b/resources/views/dashboard/index.blade.php index 35df7a3..9a1f20f 100644 --- a/resources/views/dashboard/index.blade.php +++ b/resources/views/dashboard/index.blade.php @@ -1,111 +1,7 @@ -@extends('layouts._app') +@extends('layouts._dashboard') -@section('title') -Pesan gedung dan ruangan sesuai kebutuhan anda -@endsection - -@section('css') - -@endsection - -@section('header') -Pilihlah Gedung yang Anda Inginkan -@endsection +@section('header', 'Dashboard') @section('content') -
-
-
- - -
- -
-
-
-
-
- -
- -
-
-
-
- -
- -
- @foreach($buildings as $building) -
-
- @if($building->images->count() > 0) - Card image cap - @else - Card image cap - @endif -
-
-

{{ $building->name }}

-
-
-
-

Alamat :

-

{{ $building->address }}

-
-
-
-

Jumlah Ruangan

-
-
- {{ $building->rooms->count() }} -
-
- @if ($date !== "" && !empty($date)) - @php - $value = 0; - @endphp - @foreach ($building->rooms as $room) - @foreach ($room->bookings as $booking) - @if ($date == $booking->date) - @php - $value++; - @endphp - @endif - @endforeach - @endforeach -
-
-

Jumlah Terpakai

-
-
- {{$value}} -
-
- @endif -
- - Cek Ruangan - -
-
-
- @endforeach - -
- -
-
- {{ $buildings->links('pagination::bootstrap-4') }} -
-
- - -@endsection - -@section('js') +

Welcome Admin

@endsection \ No newline at end of file