mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 12:24:09 +00:00
added vue time ago component
added custom field for booking updated notification updated fetch notification on frontend
This commit is contained in:
@@ -97,8 +97,11 @@ class BookingController extends Controller
|
||||
$booking->status_desc = $status_desc;
|
||||
$booking->marking = $booking->user->marking;
|
||||
}
|
||||
|
||||
$notif_details = "Booking updated";
|
||||
$notif_link = "booking/2004/transfer";
|
||||
|
||||
$user->notify(new BookingUpdated($booking));
|
||||
$user->notify(new BookingUpdated($notif_details, $notif_link));
|
||||
|
||||
return $bookings;
|
||||
}
|
||||
@@ -190,8 +193,7 @@ class BookingController extends Controller
|
||||
->where('term', '!=', 'x2_cheque')
|
||||
->where('term', '!=', 'x2_ba')
|
||||
->where('term', '!=', 'x2_cash');
|
||||
})
|
||||
|
||||
})
|
||||
->orderby('updated_at','desc')
|
||||
->paginate(10);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user