mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Migrate Form::open and Form::close on activity report page
This commit is contained in:
parent
ef3112e526
commit
215fe501ac
|
@ -7,13 +7,13 @@
|
|||
@stop
|
||||
|
||||
@section('header_right')
|
||||
{{ Form::open(['method' => 'post', 'class' => 'form-horizontal']) }}
|
||||
<form method="POST" action="{{ route('reports.activity.post') }}" accept-charset="UTF-8" class="form-horizontal">
|
||||
{{csrf_field()}}
|
||||
<button type="submit" class="btn btn-default">
|
||||
<x-icon type="download" />
|
||||
{{ trans('general.download_all') }}
|
||||
</button>
|
||||
{{ Form::close() }}
|
||||
</form>
|
||||
@stop
|
||||
|
||||
{{-- Page content --}}
|
||||
|
|
|
@ -390,7 +390,7 @@ Route::group(['middleware' => ['auth']], function () {
|
|||
[ReportsController::class, 'getActivityReport']
|
||||
)->name('reports.activity');
|
||||
|
||||
Route::post('reports/activity', [ReportsController::class, 'postActivityReport']);
|
||||
Route::post('reports/activity', [ReportsController::class, 'postActivityReport'])->name('reports.activity.post');
|
||||
|
||||
Route::get(
|
||||
'reports/unaccepted_assets/{deleted?}',
|
||||
|
|
Loading…
Reference in a new issue