permissions arranged

This commit is contained in:
Sevan Nerse
2021-09-02 11:22:48 +03:00
parent 1b648a2598
commit 613da78834
7 changed files with 15 additions and 5 deletions

View File

@@ -95,6 +95,7 @@
@stack('edit_button_start')
@if (!$hideButtonEdit)
@can($permissionUpdate)
@if ($checkButtonReconciled)
@if (!$item->reconciled)
<a class="dropdown-item" href="{{ route($routeButtonEdit, $item->id) }}">{{ trans('general.edit') }}</a>
@@ -102,6 +103,7 @@
@else
<a class="dropdown-item" href="{{ route($routeButtonEdit, $item->id) }}">{{ trans('general.edit') }}</a>
@endif
@endcan
@endif
@stack('edit_button_end')