akaunting 3.0 (the last dance)
This commit is contained in:
21
resources/views/components/index/bulkaction/single.blade.php
Normal file
21
resources/views/components/index/bulkaction/single.blade.php
Normal file
@ -0,0 +1,21 @@
|
||||
@props(['id', 'name'])
|
||||
|
||||
@stack($name . '_input_start')
|
||||
|
||||
<div data-bulkaction>
|
||||
<input type="checkbox"
|
||||
id="bulk-action-{{ $id }}"
|
||||
class="rounded-sm text-purple border-gray-300 cursor-pointer disabled:bg-gray-200 focus:outline-none focus:ring-transparent"
|
||||
@if (!empty($attributes['disabled']))
|
||||
:disabled="{{ ($attributes['disabled']) ? true : false }}"
|
||||
@else
|
||||
data-bulk-action="{{ $id }}"
|
||||
@endif
|
||||
:value="{{ $id }}"
|
||||
v-model="{{ !empty($attributes['v-model']) ? $attributes['v-model'] : 'bulk_action.selected' }}"
|
||||
@change="onSelectBulkAction"
|
||||
>
|
||||
<label class="custom-control-label" for="bulk-action-{{ $id }}"></label>
|
||||
</div>
|
||||
|
||||
@stack($name . '_input_end')
|
Reference in New Issue
Block a user