Use plural api endpoints in blades

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-04-26 15:47:19 +01:00
parent 9e44052709
commit de6d71cc3b
2 changed files with 2 additions and 2 deletions

View file

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