app/Http/Controllers/GuestController.php 1 location
|
@@ 66-72 (lines=7) @@
|
| 63 |
|
]); |
| 64 |
|
} |
| 65 |
|
|
| 66 |
|
public function delete($id) |
| 67 |
|
{ |
| 68 |
|
Guest::destroy($id); |
| 69 |
|
$data = ['class' => 'alert-success', 'message' => trans('general.deleted')]; |
| 70 |
|
|
| 71 |
|
return response()->json($data); |
| 72 |
|
} |
| 73 |
|
|
| 74 |
|
// TODO |
| 75 |
|
public function showAddEditForm($id = null) |
app/Http/Controllers/ReservationController.php 1 location
|
@@ 70-76 (lines=7) @@
|
| 67 |
|
]); |
| 68 |
|
} |
| 69 |
|
|
| 70 |
|
public function delete($id) |
| 71 |
|
{ |
| 72 |
|
Reservation::destroy($id); |
| 73 |
|
$data = ['class' => 'alert-success', 'message' => trans('general.deleted')]; |
| 74 |
|
|
| 75 |
|
return response()->json($data); |
| 76 |
|
} |
| 77 |
|
|
| 78 |
|
// TODO |
| 79 |
|
public function showAddEditForm($id = null) |
app/Http/Controllers/RoomController.php 1 location
|
@@ 65-71 (lines=7) @@
|
| 62 |
|
]); |
| 63 |
|
} |
| 64 |
|
|
| 65 |
|
public function delete($id) |
| 66 |
|
{ |
| 67 |
|
Room::destroy($id); |
| 68 |
|
$data = ['class' => 'alert-success', 'message' => trans('general.deleted')]; |
| 69 |
|
|
| 70 |
|
return response()->json($data); |
| 71 |
|
} |
| 72 |
|
|
| 73 |
|
public function showAddEditForm($id = null) |
| 74 |
|
{ |