added permission for opening a closed expense

This commit is contained in:
Jagad R R
2024-12-26 17:28:16 +07:00
parent 603911d2bf
commit 9b4e372de1
12 changed files with 100 additions and 11 deletions
@@ -403,7 +403,7 @@ class FormUpCountryController extends Controller
public function open($id)
{
$this->checkAuthorization(auth()->user(), ['final_approval.approve']);
$this->checkAuthorization(auth()->user(), ['final_approval.open']);
$form = FormUpCountry::findOrfail($id);
$form->update([