From a89d125f7c798f286bf5805e03b7cb850bb8674e Mon Sep 17 00:00:00 2001 From: cp6 Date: Mon, 25 Jan 2021 13:32:46 +1100 Subject: [PATCH] Domain terms annual & above Domain terms options to be Annual, Biennial and Triennial --- class.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/class.php b/class.php index 8e09f06..cd52793 100644 --- a/class.php +++ b/class.php @@ -198,6 +198,13 @@ class elementHelpers extends idlersConfig $this->selectOption('Triennial (3 years)', '6'); } + protected function domainTermSelectOptions() + { + $this->selectOption('Annual (yearly)', '4', true); + $this->selectOption('Biennial (2 years)', '5'); + $this->selectOption('Triennial (3 years)', '6'); + } + protected function CurrencySelectOptions() { $this->selectOption('AUD', 'AUD'); @@ -1318,7 +1325,7 @@ class idlers extends helperFunctions $this->tagOpen('div', 'input-group'); $this->inputPrepend('Term'); $this->selectElement('d_me_term'); - $this->termSelectOptions(); + $this->domainTermSelectOptions(); $this->tagClose('select'); $this->tagClose('div', 3);