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

@@ -88,8 +88,10 @@
<a class="dropdown-item" href="{{ route('payments.show', $item->id) }}">{{ trans('general.show') }}</a>
@if (!$item->reconciled)
@can('update-purchases-payments')
<a class="dropdown-item" href="{{ route('payments.edit', $item->id) }}">{{ trans('general.edit') }}</a>
<div class="dropdown-divider"></div>
@endcan
@endif
@if (empty($item->document_id))