Merge pull request #10434 from inietov/fixes/v6_components_error
Fix route to checkout components from the details page
This commit is contained in:
commit
52322806fa
2 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@
|
||||||
{{ trans('button.actions') }}
|
{{ trans('button.actions') }}
|
||||||
<span class="caret"></span>
|
<span class="caret"></span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<ul class="dropdown-menu pull-right" role="menu22">
|
<ul class="dropdown-menu pull-right" role="menu22">
|
||||||
@if ($component->assigned_to != '')
|
@if ($component->assigned_to != '')
|
||||||
@can('checkin', $component)
|
@can('checkin', $component)
|
||||||
|
|
|
@ -18,7 +18,7 @@ Route::group(['prefix' => 'components', 'middleware' => ['auth']], function () {
|
||||||
Route::get(
|
Route::get(
|
||||||
'{componentID}/checkin/{backto?}',
|
'{componentID}/checkin/{backto?}',
|
||||||
[Components\ComponentCheckinController::class, 'create']
|
[Components\ComponentCheckinController::class, 'create']
|
||||||
)->name('checkout/component');
|
)->name('checkin/component');
|
||||||
|
|
||||||
Route::post(
|
Route::post(
|
||||||
'{componentID}/checkin/{backto?}',
|
'{componentID}/checkin/{backto?}',
|
||||||
|
|
Loading…
Add table
Reference in a new issue