Added bulk edit to company view

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-08-01 14:06:18 -07:00
parent 7d2fcef807
commit 8b30992a11

View file

@ -86,7 +86,9 @@
<div class="tab-pane fade in active" id="asset_tab"> <div class="tab-pane fade in active" id="asset_tab">
<!-- checked out assets table --> <!-- checked out assets table -->
<div class="table-responsive"> <div class="table table-responsive">
@include('partials.asset-bulk-actions')
<table <table
data-columns="{{ \App\Presenters\AssetPresenter::dataTableLayout() }}" data-columns="{{ \App\Presenters\AssetPresenter::dataTableLayout() }}"
data-cookie-id-table="assetsListingTable" data-cookie-id-table="assetsListingTable"
@ -98,6 +100,10 @@
data-show-export="true" data-show-export="true"
data-show-refresh="true" data-show-refresh="true"
data-sort-order="asc" data-sort-order="asc"
data-toolbar="#assetsBulkEditToolbar"
data-bulk-button-id="#bulkAssetEditButton"
data-bulk-form-id="#assetsBulkForm"
data-click-to-select="true"
id="assetsListingTable" id="assetsListingTable"
class="table table-striped snipe-table" class="table table-striped snipe-table"
data-url="{{route('api.assets.index',['company_id' => $company->id]) }}" data-url="{{route('api.assets.index',['company_id' => $company->id]) }}"