This commit is contained in:
lonetrinity
2018-08-24 16:07:09 +08:00
parent a85b8eb41e
commit a88fdb62ae
3 changed files with 21 additions and 6 deletions
+3 -2
View File
@@ -34,6 +34,7 @@ class BookingController extends Controller
})
->orderby('updated_at','desc')
->paginate(10);
@@ -734,10 +735,10 @@ class BookingController extends Controller
{
return response()->json(['message'=>'Access denied'],403);
}
$booking->is_cancel = true;
$booking->save();
return response()->json(['message'=>'Success'],200);
}