Updated routes

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-04-26 14:01:38 +01:00
parent 2484a9db2c
commit 14b6a75507
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@
{{ $company->name }}
@endif
{{ trans('general.audit_due') }}
{{ trans('general.audit_due_days', ['days' => $settings->audit_warning_days]) }}
@stop
@ -49,7 +49,7 @@
data-bulk-form-id="#assetsBulkForm"
id="assetsAuditListingTable"
class="table table-striped snipe-table"
data-url="{{ route('api.asset.to-audit', ['audit' => 'due']) }}"
data-url="{{ route('api.asset.to-audit', ['status' => 'due']) }}"
data-export-options='{
"fileName": "export-assets-due-audit-{{ date('Y-m-d') }}",
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]

View file

@ -47,7 +47,7 @@
data-bulk-form-id="#assetsBulkForm"
id="assetsAuditListingTable"
class="table table-striped snipe-table"
data-url="{{ route('api.asset.to-audit', ['audit' => 'overdue']) }}"
data-url="{{ route('api.asset.to-audit', ['status' => 'overdue']) }}"
data-export-options='{
"fileName": "export-assets-due-audit-{{ date('Y-m-d') }}",
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]