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

34 lines
1001 B
PHP

@stack('button_group_start')
@if (! $hideActionsDropdown)
<x-dropdown id="show-more-actions-{{ $contact->type }}">
<x-slot name="trigger">
<span class="material-icons pointer-events-none">more_horiz</span>
</x-slot>
@stack('delete_button_start')
@if (! $hideButtonDuplicate)
@can($permissionCreate)
<x-dropdown.link href="{{ route($routeButtonDuplicate, $contact->id) }}" id="show-more-actions-duplicate-{{ $contact->type }}">
{{ trans('general.duplicate') }}
</x-dropdown.link>
@endcan
@endif
<x-dropdown.divider />
@stack('delete_button_start')
@if (! $hideButtonDelete)
@can($permissionDelete)
<x-delete-link :model="$contact" :route="$routeButtonDelete" :text="$textDeleteModal" />
@endcan
@endif
@stack('delete_button_end')
</x-dropdown>
@endif
@stack('button_group_end')