Skip to content

Conversation

@arlen
Copy link
Contributor

@arlen arlen commented Jun 15, 2026

This PR moves the plugins/TermsAgreer interface into the core Terms and Conditions interface for CO-level Terms and Conditions Review. The plugin now uses the core interface template (using an include). The result looks like the following screenshots:

image image image image

@arlen arlen requested review from Ioannis and benno June 15, 2026 22:44
@arlen arlen force-pushed the feature-cfm501-tcReview branch from 78f7593 to 1d5da04 Compare June 26, 2026 21:22
@arlen
Copy link
Contributor Author

arlen commented Jun 26, 2026

All fixes made and PR rebased against the latest develop.

@arlen arlen force-pushed the feature-cfm501-tcReview branch from 1d5da04 to 44504dc Compare June 28, 2026 02:11
@arlen arlen force-pushed the feature-cfm501-tcReview branch from 44504dc to c776d50 Compare July 15, 2026 20:00
Comment on lines +711 to +713
if($this->request->is('ajax')) {
return;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This check should move into AppController where we're already doing various tests before deciding whether to call maybeEnforceTAndCs().

@@ -181,23 +181,66 @@ public function review() {

$status = $this->TermsAndConditions->status((int)$personId);

// If there is nothing left to do, redirect to the original request
$done = true;
if($request->is('post')) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aren't T&C now being recorded over the API? In which case they wouldn't get processed by review()?

Sign in to join this conversation on GitHub.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants