From 0e48837eec90679d4332d2a07146bfbbcc5a72d5 Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 23 Feb 2018 05:53:00 -0800 Subject: [PATCH] Fixed assets checked out to assets listing table --- resources/views/hardware/view.blade.php | 25 ++++++++++++--------- resources/views/statuslabels/view.blade.php | 2 +- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php index f01797ef5..5e79e4015 100755 --- a/resources/views/hardware/view.blade.php +++ b/resources/views/hardware/view.blade.php @@ -627,19 +627,24 @@
+ data-export-options='{ + "fileName": "export-assets-{{ str_slug($asset->name) }}-assets-{{ date('Y-m-d') }}", + "ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"] + }'> +
diff --git a/resources/views/statuslabels/view.blade.php b/resources/views/statuslabels/view.blade.php index 331c9ee8a..b0e08d074 100644 --- a/resources/views/statuslabels/view.blade.php +++ b/resources/views/statuslabels/view.blade.php @@ -46,7 +46,7 @@ class="table table-striped snipe-table" data-url="{{route('api.assets.index', ['status_id' => $statuslabel->id]) }}" data-export-options='{ - "fileName": "export-locations-{{ str_slug($statuslabel->name) }}-assets-{{ date('Y-m-d') }}", + "fileName": "export-assets-{{ str_slug($statuslabel->name) }}-assets-{{ date('Y-m-d') }}", "ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"] }'>