- $this->add('select', 'period_type', ts('Period Type'), [
- 'rolling' => 'Rolling',
- 'fixed' => 'Fixed',
- ], FALSE, ['placeholder' => TRUE]);
+ $this->add('select', 'period_type', ts('Period Type'), CRM_Core_SelectValues::periodType(), FALSE, ['placeholder' => TRUE]);