addHelperPath('App/License/View/Helper/', 'App\License\View\Helper\\'); $this->addColumn('text', 'id', ['title' => '#', 'orderBy' => 'id']); $this->addColumn('link_advanced', 'vendorName', [ 'url' => UserView::getPage('url') . '?action=edit&id=%s', 'orderBy' => 'vendorName', 'urlParams' => ['vendorId'], 'text' => '%s', ]); $this->addColumn('naicsCodes', 'naicsCodes', ['title' => 'Vendor Classifications']); $this->addColumn('dateRange', 'period', [ 'title' => 'Taxation Period', 'orderBy' => 'start', 'start' => 'start', 'end' => 'end', ]); $this->addColumn('money', 'total', ['orderBy' => 'total']); $this->addColumn('enum', 'status', ['orderBy' => 'status', 'values' => $this->getConfigArray('statuses')]); $this->addColumn('options', 'options'); return parent::_initColumns(); } }