-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
32bfb1b
commit 271a099
Showing
8 changed files
with
144 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
@extends('layouts.app') | ||
|
||
@section('stylesheet') | ||
<!-- Google Font: Source Sans Pro --> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback"> | ||
<link rel="stylesheet" href="{{ asset('dist/css/adminlte.min.css') }}"> | ||
<link rel="stylesheet" href="{{ asset('plugins/fontawesome-free/css/all.min.css ') }}"> | ||
<link rel="stylesheet" href="{{ asset('plugins/tempusdominus-bootstrap-4/css/tempusdominus-bootstrap-4.min.css') }}"> | ||
@endsection | ||
|
||
@section('title', 'Previous Booking') | ||
|
||
@section('content') | ||
<section class="content-header"> | ||
<div class="container-fluid"> | ||
<div class="row mb-2"> | ||
<div class="col-sm-6"> | ||
<h1>Previous Booking</h1> | ||
</div> | ||
|
||
</div> | ||
</div><!-- /.container-fluid --> | ||
</section> | ||
|
||
<section class="content"> | ||
<div class="card card-primary"> | ||
<div class="card-header"> | ||
|
||
<div class="card-tools"> | ||
<button type="button" class="btn btn-tool" data-card-widget="collapse" title="Collapse"> | ||
<i class="fas fa-minus"></i> | ||
</button> | ||
</div> | ||
</div> | ||
<div class="card-body"> | ||
<table class="table table-striped projects"> | ||
<thead> | ||
<tr> | ||
<th style="width: 1%"> | ||
# | ||
</th> | ||
<th style="width: 10%"> | ||
Date Booking | ||
</th> | ||
<th class="text-center" style="width: 1%"> | ||
Time Start | ||
</th> | ||
<th class="text-center" style="width: 1%"> | ||
Duration | ||
</th> | ||
<th class="text-center" style="width: 1%"> | ||
Parking slot | ||
</th> | ||
<th class="text-center" style="width: 1%"> | ||
Status | ||
</th> | ||
<th style="width: 2%" class="text-center"> | ||
Action | ||
</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
@foreach($bookings as $booking) | ||
<tr> | ||
<td> | ||
{{ ++$count }} | ||
</td> | ||
<td> | ||
{{ $booking->date_booking }} | ||
</td> | ||
<td class="text-center"> | ||
{{ $booking->start_time }} | ||
</td> | ||
<td class="text-center"> | ||
{{ $booking->parking_duration }} | ||
</td> | ||
<td class="text-center"> | ||
{{ $booking->parking_slot }} | ||
</td> | ||
<td class="text-center"> | ||
@include('components.booking-status-badge') | ||
</td> | ||
<td class="text-center"> | ||
<div class="btn-group"> | ||
<button type="button" class="btn btn-primary">Action</button> | ||
<button type="button" class="btn btn-primary dropdown-toggle dropdown-icon" data-toggle="dropdown"> | ||
<span class="sr-only">Toggle Dropdown</span> | ||
</button> | ||
<div class="dropdown-menu" role="menu"> | ||
<a class="dropdown-item" href="{{ route('book-parking.show', $booking->booking_id) }}">View</a> | ||
<a href="{{ route('book-parking.delete', $booking->booking_id) }}" class="dropdown-item">Delete</a> | ||
</div> | ||
</div> | ||
</td> | ||
</tr> | ||
@endforeach | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
<!-- /.card --> | ||
</section> | ||
@endsection | ||
|
||
@section('scripts') | ||
<!-- jQuery --> | ||
<script src="{{ asset('plugins/jquery/jquery.min.js') }}"></script> | ||
|
||
<!-- Bootstrap 4 --> | ||
<script src="{{ asset('plugins/bootstrap/js/bootstrap.bundle.min.js') }}"></script> | ||
|
||
<!-- AdminLTE App --> | ||
<script src="{{ asset('dist/js/adminlte.js') }}"></script> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters