Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cancel requested assets without checkin/out [ch-17606] #13219

Merged
merged 8 commits into from
Jun 29, 2023
Prev Previous commit
Next Next commit
Change the inline form HTML label to the Form:: facade
  • Loading branch information
inietov committed Jun 27, 2023
commit b647a8fcd242ba7821badf9165ea71d09e25a07b
7 changes: 6 additions & 1 deletion resources/views/hardware/requested.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,12 @@ class="table table-striped snipe-table"
</td>
<td>{{ App\Helpers\Helper::getFormattedDateObject($request->created_at, 'datetime', false) }}</td>
<td>
<form action="{{ config('app.url') }}/account/request-asset/{{ $request->requestable->id }}'" method="POST">@csrf<button class="btn btn-danger btn-sm" data-tooltip="true" title="Cancel this item request">{{ trans('button.cancel') }}</button></form>
{{ Form::open([
'method' => 'POST',
'route' => ['account/request-asset', $request->requestable->id],
]) }}
<button class="btn btn-danger btn-sm" data-tooltip="true" title="Cancel this item request">{{ trans('button.cancel') }}</button>
inietov marked this conversation as resolved.
Show resolved Hide resolved
{{ Form::close() }}
</td>
<td>
@if ($request->itemType() == "asset")
Expand Down