|
157 | 157 |
|
158 | 158 |
|
159 | 159 | <div class="tab-content"> |
160 | | - <div class="tab-pane active" id="users"> |
| 160 | + |
| 161 | + <div class="tab-pane active" id="assets"> |
| 162 | + <h2 class="box-title">{{ trans('admin/locations/message.current_location') }}</h2> |
| 163 | + |
| 164 | + <div class="table table-responsive"> |
| 165 | + @include('partials.asset-bulk-actions') |
| 166 | + <table |
| 167 | + data-columns="{{ \App\Presenters\AssetPresenter::dataTableLayout() }}" |
| 168 | + data-cookie-id-table="assetsListingTable" |
| 169 | + data-pagination="true" |
| 170 | + data-id-table="assetsListingTable" |
| 171 | + data-search="true" |
| 172 | + data-side-pagination="server" |
| 173 | + data-show-columns="true" |
| 174 | + data-show-export="true" |
| 175 | + data-show-refresh="true" |
| 176 | + data-sort-order="asc" |
| 177 | + data-toolbar="#assetsBulkEditToolbar" |
| 178 | + data-bulk-button-id="#bulkAssetEditButton" |
| 179 | + data-bulk-form-id="#assetsBulkForm" |
| 180 | + data-click-to-select="true" |
| 181 | + id="assetsListingTable" |
| 182 | + class="table table-striped snipe-table" |
| 183 | + data-url="{{route('api.assets.index', ['location_id' => $location->id]) }}" |
| 184 | + data-export-options='{ |
| 185 | + "fileName": "export-locations-{{ str_slug($location->name) }}-assets-{{ date('Y-m-d') }}", |
| 186 | + "ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"] |
| 187 | + }'> |
| 188 | + </table> |
| 189 | + |
| 190 | + </div><!-- /.table-responsive --> |
| 191 | + </div><!-- /.tab-pane --> |
| 192 | + |
| 193 | + |
| 194 | + |
| 195 | + <div class="tab-pane" id="users"> |
161 | 196 | <h2 class="box-title">{{ trans('general.users') }}</h2> |
162 | 197 | <div class="table table-responsive"> |
163 | 198 | @include('partials.users-bulk-actions') |
@@ -188,37 +223,6 @@ class="table table-striped snipe-table" |
188 | 223 | </div><!-- /.table-responsive --> |
189 | 224 | </div><!-- /.tab-pane --> |
190 | 225 |
|
191 | | - <div class="tab-pane" id="assets"> |
192 | | - <h2 class="box-title">{{ trans('admin/locations/message.current_location') }}</h2> |
193 | | - |
194 | | - <div class="table table-responsive"> |
195 | | - @include('partials.asset-bulk-actions') |
196 | | - <table |
197 | | - data-columns="{{ \App\Presenters\AssetPresenter::dataTableLayout() }}" |
198 | | - data-cookie-id-table="assetsListingTable" |
199 | | - data-pagination="true" |
200 | | - data-id-table="assetsListingTable" |
201 | | - data-search="true" |
202 | | - data-side-pagination="server" |
203 | | - data-show-columns="true" |
204 | | - data-show-export="true" |
205 | | - data-show-refresh="true" |
206 | | - data-sort-order="asc" |
207 | | - data-toolbar="#assetsBulkEditToolbar" |
208 | | - data-bulk-button-id="#bulkAssetEditButton" |
209 | | - data-bulk-form-id="#assetsBulkForm" |
210 | | - data-click-to-select="true" |
211 | | - id="assetsListingTable" |
212 | | - class="table table-striped snipe-table" |
213 | | - data-url="{{route('api.assets.index', ['location_id' => $location->id]) }}" |
214 | | - data-export-options='{ |
215 | | - "fileName": "export-locations-{{ str_slug($location->name) }}-assets-{{ date('Y-m-d') }}", |
216 | | - "ignoreColumn": ["actions","image","change","checkbox","checkincheckout","icon"] |
217 | | - }'> |
218 | | - </table> |
219 | | - |
220 | | - </div><!-- /.table-responsive --> |
221 | | - </div><!-- /.tab-pane --> |
222 | 226 |
|
223 | 227 | <div class="tab-pane" id="assets_assigned"> |
224 | 228 | <h2 class="box-title"> |
|
0 commit comments