added id attribute to elements
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
@stack('new_button_start')
 | 
			
		||||
 | 
			
		||||
@if (! $hideNewDropdown)
 | 
			
		||||
    <x-dropdown id="customer-new">
 | 
			
		||||
    <x-dropdown id="show-new-actions-{{ $contact->type }}">
 | 
			
		||||
        <x-slot name="trigger" class="flex items-center px-3 py-1.5 mb-3 sm:mb-0 bg-green hover:bg-green-700 rounded-xl text-white text-sm font-bold leading-6" override="class">
 | 
			
		||||
            {{ trans('general.new_more') }}
 | 
			
		||||
            <span class="material-icons ltr:ml-2 rtl:mr-2">expand_more</span>
 | 
			
		||||
@@ -11,7 +11,7 @@
 | 
			
		||||
 | 
			
		||||
        @if (! $hideButtonDocument)
 | 
			
		||||
            @can($permissionCreateDocument)
 | 
			
		||||
                <x-dropdown.link href="{{ route($routeButtonDocument, $contact->id) }}">
 | 
			
		||||
                <x-dropdown.link href="{{ route($routeButtonDocument, $contact->id) }}" id="show-more-actions-new-document-{{ $contact->type }}">
 | 
			
		||||
                    {{ trans_choice($textDocument, 1) }}
 | 
			
		||||
                </x-dropdown.link>
 | 
			
		||||
            @endcan
 | 
			
		||||
@@ -21,7 +21,7 @@
 | 
			
		||||
 | 
			
		||||
        @if (! $hideButtonTransaction)
 | 
			
		||||
            @can($permissionCreateTransaction)
 | 
			
		||||
                <x-dropdown.link href="{{ route($routeButtonTransaction, $contact->id) }}">
 | 
			
		||||
                <x-dropdown.link href="{{ route($routeButtonTransaction, $contact->id) }}" id="show-more-actions-new-transaction-{{ $contact->type }}">
 | 
			
		||||
                    {{ trans_choice($textTransaction, 1) }}
 | 
			
		||||
                </x-dropdown.link>
 | 
			
		||||
            @endcan
 | 
			
		||||
@@ -35,7 +35,7 @@
 | 
			
		||||
 | 
			
		||||
@if (! $hideButtonEdit)
 | 
			
		||||
    @can($permissionUpdate)
 | 
			
		||||
        <x-link href="{{ route($routeButtonEdit, $contact->id) }}">
 | 
			
		||||
        <x-link href="{{ route($routeButtonEdit, $contact->id) }}" id="show-more-actions-edit-{{ $contact->type }}">
 | 
			
		||||
            {{ trans('general.edit') }}
 | 
			
		||||
        </x-link>
 | 
			
		||||
    @endcan
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
@stack('button_group_start')
 | 
			
		||||
 | 
			
		||||
@if (! $hideActionsDropdown)
 | 
			
		||||
    <x-dropdown id="dropdown-more-actions">
 | 
			
		||||
    <x-dropdown id="show-more-actions-{{ $contact->type }}">
 | 
			
		||||
        <x-slot name="trigger">
 | 
			
		||||
            <span class="material-icons">more_horiz</span>
 | 
			
		||||
        </x-slot>
 | 
			
		||||
@@ -10,7 +10,7 @@
 | 
			
		||||
 | 
			
		||||
        @if (! $hideButtonDuplicate)
 | 
			
		||||
            @can($permissionCreate)
 | 
			
		||||
                <x-dropdown.link href="{{ route($routeButtonDuplicate, $contact->id) }}">
 | 
			
		||||
                <x-dropdown.link href="{{ route($routeButtonDuplicate, $contact->id) }}" id="show-more-actions-duplicate-{{ $contact->type }}">
 | 
			
		||||
                    {{ trans('general.duplicate') }}
 | 
			
		||||
                </x-dropdown.link>
 | 
			
		||||
            @endcan
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user