/** * Company payments * * @param void * @return null */ function payments() { $this->smarty->assign(array('payments' => InvoicePayments::findByCompany($this->active_company))); }