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

This commit is contained in:
2022-02-10 12:51:29 +00:00
parent a42b04f518
commit 6570f2fb27
6 changed files with 150 additions and 5 deletions

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.
*