. * */ namespace Vvveb\Controller\Settings; use function Vvveb\__; use Vvveb\Controller\Crud; class SubscriptionPlan extends Crud { protected $type = 'subscription_plan'; protected $controller = 'subscription-plan'; protected $module = 'settings'; function index() { parent :: index(); $this->view->period = ['day' => __('Day'), 'week' => __('Week'), 'month' => __('Month'), 'year' => __('Year')]; $this->view->trial_period = $this->view->period; $this->view->trial_status = $this->view->status; } }