Added an approved flag to organisations with a status column as an indicator, pending registration/approval workflow

This commit is contained in:
bwilliams committed 2022-02-10 12:51:29 +00:00
1 parent a42b04f518
commit 6570f2fb27
6 files changed
+150 -5

No files matched your search

+2 -3
View File
@@ -101,8 +101,7 @@ class OrganisationController extends SimpleController
return $response->withJson([], 400);
}
/** @var \UserFrosting\Support\Repository\Repository $config */
$config = $this->ci->config;
$data['flag_approved'] = 1;
// All checks passed! log events/activities and create organisation
// Begin transaction - DB will be rolled back if an exception occurs
@@ -621,7 +620,7 @@ class OrganisationController extends SimpleController
],
]);
}
/**
* Renders the modal form for editing an existing organisation.
*