This commit is contained in:
frederikpyt
2020-09-02 15:11:07 +02:00
6 changed files with 21 additions and 17 deletions
@@ -39,8 +39,9 @@
/*Alert box*/
.alert {
opacity: 0.8;
padding: 20px;
background-color: #f44336;
background-color: #00788A;
color: white;
border-radius: 10px;
}
@@ -16,7 +16,7 @@
<h3>{{ \App\WashingMachine::query()->find($reservation->machine_id)->name }}</h3>
<div class="row align-items-center">
<span style="font-size: 4vw; white-space: pre-line;"><b>{{__('msg.tid')}}:</b> {{ \Illuminate\Support\Facades\Date::createFromTimeStamp(strtotime($reservation->time))->format('d/m/Y \k\l\. H:i') }}
- {{ $reservation->name }}</span>
- {{ \App\Location::query()->where('id', '=', \App\WashingMachine::query()->find($reservation->machine_id)->location_id)->first()->name }}</span>
<form class="ml-auto" method="post" action="{{ route("washing-reservations.destroy", [ "washing_reservation" => $reservation ]) }}">
@csrf
@method("delete")