removed check cancel

This commit is contained in:
Cihan Şentürk
2022-12-29 16:42:49 +03:00
committed by GitHub
parent e8f3cb033c
commit 9d1865b129
2 changed files with 2 additions and 12 deletions

View File

@ -112,13 +112,7 @@
@can($permissionUpdate)
<x-dropdown.divider />
@if ($checkCancelled)
@if ($document->status != 'cancelled')
<x-dropdown.link href="{{ route($cancelledRoute, $document->id) }}" id="show-more-actions-cancel-{{ $document->type }}">
{{ trans('general.cancel') }}
</x-dropdown.link>
@endif
@else
@if ($document->status != 'cancelled')
<x-dropdown.link href="{{ route($cancelledRoute, $document->id) }}" id="show-more-actions-cancel-{{ $document->type }}">
{{ trans('general.cancel') }}
</x-dropdown.link>