WuYongJie 9595267ee7
Some checks failed
Tests / PHP 8.1 (push) Has been cancelled
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
chore: 导入 Akaunting 初始源码与团队协作规则
2026-07-20 18:20:25 +08:00

22 lines
712 B
PHP

@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 for="bulk-action-{{ $id }}"></label>
</div>
@stack($name . '_input_end')