. * */ namespace Vvveb\Controller\Order; use function Vvveb\__; use Vvveb\Controller\Crud; class Subscription extends Crud { protected $type = 'subscription'; protected $controller = 'subscription'; protected $module = 'order'; 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; } }