Domain terms annual & above

Domain terms options to be Annual, Biennial and Triennial
This commit is contained in:
cp6 2021-01-25 13:32:46 +11:00
parent 12c9ea82a1
commit a89d125f7c

View File

@ -198,6 +198,13 @@ class elementHelpers extends idlersConfig
$this->selectOption('Triennial (3 years)', '6'); $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() protected function CurrencySelectOptions()
{ {
$this->selectOption('AUD', 'AUD'); $this->selectOption('AUD', 'AUD');
@ -1318,7 +1325,7 @@ class idlers extends helperFunctions
$this->tagOpen('div', 'input-group'); $this->tagOpen('div', 'input-group');
$this->inputPrepend('Term'); $this->inputPrepend('Term');
$this->selectElement('d_me_term'); $this->selectElement('d_me_term');
$this->termSelectOptions(); $this->domainTermSelectOptions();
$this->tagClose('select'); $this->tagClose('select');
$this->tagClose('div', 3); $this->tagClose('div', 3);