moved edit out of more buttons

This commit is contained in:
Denis Duliçi
2022-06-04 20:26:53 +03:00
parent 5ae0478484
commit 6fd4ab9995
2 changed files with 13 additions and 15 deletions

View File

@@ -8,4 +8,16 @@
@endcan
@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')