added permission for opening a closed expense
This commit is contained in:
@@ -191,7 +191,7 @@
|
||||
</button>
|
||||
</form>
|
||||
@else
|
||||
@if ($item->final_approved_at)
|
||||
@if ($item->final_approved_at && auth()->user()->can('final_approval.open'))
|
||||
<form action="{{ route('forms.up-country.open', $item->id) }}" method="POST" class="d-inline"onsubmit="return confirm('Are you sure you want to approve this item?');">
|
||||
@csrf
|
||||
@method('PUT')
|
||||
|
||||
Reference in New Issue
Block a user