moved edit out of more buttons
This commit is contained in:
@ -8,4 +8,16 @@
|
|||||||
@endcan
|
@endcan
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@stack('add_new_button_end')
|
@stack('edit_button_start')
|
||||||
|
|
||||||
|
@if (! $transaction->hasTransferRelation)
|
||||||
|
@if (! $hideButtonEdit)
|
||||||
|
@can($permissionUpdate)
|
||||||
|
<x-link href="{{ route($routeButtonEdit, [$transaction->id, 'type' => $type]) }}">
|
||||||
|
{{ trans('general.edit') }}
|
||||||
|
</x-link>
|
||||||
|
@endcan
|
||||||
|
@endif
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@stack('edit_button_end')
|
||||||
|
@ -6,20 +6,6 @@
|
|||||||
<span class="material-icons">more_horiz</span>
|
<span class="material-icons">more_horiz</span>
|
||||||
</x-slot>
|
</x-slot>
|
||||||
|
|
||||||
@stack('edit_button_start')
|
|
||||||
|
|
||||||
@if (! $transaction->hasTransferRelation)
|
|
||||||
@if (! $hideButtonEdit)
|
|
||||||
@can($permissionUpdate)
|
|
||||||
<x-dropdown.link href="{{ route($routeButtonEdit, [$transaction->id, 'type' => $type]) }}">
|
|
||||||
{{ trans('general.edit') }}
|
|
||||||
</x-dropdown.link>
|
|
||||||
@endcan
|
|
||||||
@endif
|
|
||||||
@endif
|
|
||||||
|
|
||||||
@stack('edit_button_end')
|
|
||||||
|
|
||||||
@stack('duplicate_button_start')
|
@stack('duplicate_button_start')
|
||||||
|
|
||||||
@if (! $transaction->hasTransferRelation)
|
@if (! $transaction->hasTransferRelation)
|
||||||
|
Reference in New Issue
Block a user