Skip to content

A free open source IT asset/license management system

Added status to URL

snipe05f66229123a
diff --git a/resources/lang/en-US/general.php b/resources/lang/en-US/general.php
index a57c7c9f3a..a3b6eb37e6 100644
--- a/resources/lang/en-US/general.php
+++ b/resources/lang/en-US/general.php
@@ -589,6 +589,7 @@ return [
'components' => ':count Component|:count Components',
],
+ 'show_inactive' => 'Expired or Terminated',
'more_info' => 'More Info',
'quickscan_bulk_help' => 'Checking this box will edit the asset record to reflect this new location. Leaving it unchecked will simply note the location in the audit log. Note that if this asset is checked out, it will not change the location of the person, asset or location it is checked out to.',
'whoops' => 'Whoops!',
diff --git a/resources/views/licenses/index.blade.php b/resources/views/licenses/index.blade.php
index c4efc93593..8012cc2bbe 100755
--- a/resources/views/licenses/index.blade.php
+++ b/resources/views/licenses/index.blade.php
@@ -27,7 +27,7 @@
id="licensesTable"
data-buttons="licenseButtons"
class="table table-striped snipe-table"
- data-url="{{ route('api.licenses.index') }}"
+ data-url="{{ route('api.licenses.index', ['status' => e(request('status'))]) }}"
data-export-options='{
"fileName": "export-licenses-{{ date('Y-m-d') }}",
"ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"]