From 14b6a75507aef2a0d1e0a3d7aff063dfe4ba5f54 Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 26 Apr 2024 14:01:38 +0100 Subject: [PATCH] Updated routes Signed-off-by: snipe --- resources/views/hardware/audit-due.blade.php | 4 ++-- resources/views/hardware/audit-overdue.blade.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/hardware/audit-due.blade.php b/resources/views/hardware/audit-due.blade.php index 0232facd77..3d3674c15b 100644 --- a/resources/views/hardware/audit-due.blade.php +++ b/resources/views/hardware/audit-due.blade.php @@ -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"] diff --git a/resources/views/hardware/audit-overdue.blade.php b/resources/views/hardware/audit-overdue.blade.php index ddd477fb23..1b9aafd46b 100644 --- a/resources/views/hardware/audit-overdue.blade.php +++ b/resources/views/hardware/audit-overdue.blade.php @@ -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"]