fixes the bulk edit button on Asset tab

This commit is contained in:
Godfrey M 2023-10-18 10:46:47 -07:00
parent 3d5847f4b3
commit 7bda5c06de

View file

@ -1094,7 +1094,7 @@
<option value="delete">{{ trans('button.delete')}}</option>
<option value="labels">{{ trans_choice('button.generate_labels', 2) }}</option>
</select>
<button class="btn btn-primary" id="bulkEdit" disabled>{{ trans('button.go') }}</button>
<button class="btn btn-primary" id="{{ (isset($id_button)) ? $id_button : 'bulkAssetEditButton' }}" disabled>{{ trans('button.go') }}</button>
</div>
<!-- checked out assets table -->
@ -1112,6 +1112,7 @@
data-show-export="true"
data-show-refresh="true"
data-sort-order="asc"
data-bulk-button-id="#bulkAssetEditButton"
id="assetsListingTable"
class="table table-striped snipe-table"
data-url="{{route('api.assets.index',['assigned_to' => $asset->id, 'assigned_type' => 'App\Models\Asset']) }}"