mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
Merge branch 'master' of gitlab.com:CIEFWorldwideSdnBhd/exchange into fix/notification
This commit is contained in:
@@ -968,11 +968,11 @@ class BookingController extends Controller
|
||||
$booking->admin_status = 5; // upload china bankslip
|
||||
|
||||
if($booking->save()){
|
||||
$userNotification = new Notification;
|
||||
$userNotification->detail = "Supplier booking report for booking " . $booking->id . " is completed.";
|
||||
$userNotification->link = "/booking/" . $booking->id . "/transfer";
|
||||
$userNotification->user_id = $booking->user_id;
|
||||
$userNotification->save();
|
||||
// $userNotification = new Notification;
|
||||
// $userNotification->detail = "Supplier booking report for booking " . $booking->id . " is completed.";
|
||||
// $userNotification->link = "/booking/" . $booking->id . "/transfer";
|
||||
// $userNotification->user_id = $booking->user_id;
|
||||
// $userNotification->save();
|
||||
return response()->json(['message'=>"Success"],200);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user