Fix an issue when trying to checkin a license seat. [ch46] (#6599)
* Fix an issue when trying to checkin a license seat. * Minor changes in the checkin view, so it can returns to the expected place where the checkin is launched.
This commit is contained in:
@@ -91,7 +91,7 @@ class LicenseCheckinController extends Controller
|
||||
// Was the asset updated?
|
||||
if ($licenseSeat->save()) {
|
||||
|
||||
event(new CheckoutableCheckedIn($license, $return_to, Auth::user(), $request->input('note')));
|
||||
event(new CheckoutableCheckedIn($licenseSeat, $return_to, Auth::user(), $request->input('note')));
|
||||
|
||||
if ($backTo=='user') {
|
||||
return redirect()->route("users.show", $return_to->id)->with('success', trans('admin/licenses/message.checkin.success'));
|
||||
|
||||
Reference in New Issue
Block a user