Fix
This commit is contained in:
@@ -188,7 +188,6 @@ class WashingReservationController extends Controller
|
||||
"<th>Vaskemaskine</th>".
|
||||
"<th>Tidspunkt</th>".
|
||||
"<th>Bruger</th>".
|
||||
"<th style=\"width: 1em;\"><img class=\"w-100\" src=\"http://127.0.0.1:8000/images/icons/pencil.svg\" alt=\"Update\"></th>".
|
||||
"<th style=\"width: 1em;\"><img class=\"w-100\" src=\"http://127.0.0.1:8000/images/icons/trashcan.svg\" alt=\"Delete\"></th>".
|
||||
"</tr>";
|
||||
|
||||
@@ -219,7 +218,6 @@ class WashingReservationController extends Controller
|
||||
'<td>' . WashingMachine::query()->find($user->machine_id)->name . '</td>'.
|
||||
'<td>' . $user->time . '</td>'.
|
||||
'<td>' . ucfirst(User::query()->find($user->user_id)->name_first) . ' ' . ucfirst(User::query()->find($user->user_id)->name_last) . '</td>'.
|
||||
'<td><a href="'. route("washing-reservations.edit", [ "washing_reservation" => $user->id ]) . '"><img class="w-100" src="'. asset('/images/icons/pencil-dark.svg') . '" alt="Update"></a></td>'.
|
||||
'<td><form method="post" action="' .route("washing-reservations.destroy", [ "washing_reservation" => $user->id ]). '" class="w-100 nostyle">'.
|
||||
csrf_field().
|
||||
method_field("delete").
|
||||
|
||||
Reference in New Issue
Block a user