Skip to content
Snippets Groups Projects
Commit 8f5e7c3d authored by Eirik Morland's avatar Eirik Morland
Browse files

Issue #3454228 by eiriksm: Support retrieving trial plan from team

parent 3fe37644
No related branches found
No related tags found
1 merge request!64Support trial plan
Pipeline #197443 passed with warnings
......@@ -271,6 +271,9 @@ class TeamNode extends Node {
}
$plan_value = $this->get('field_plan')->first()->getString();
switch ($plan_value) {
case PlanInterface::TRIAL_PLAN:
return new Plan($plan_value);
case PlanInterface::ENTERPRISE_PLAN:
$plan = new Plan($plan_value);
// Usually we are required to set what the max is on the team level.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment