getService()->getFormService()->action_init_process(__FUNCTION__); $entities = $this->getService()->getEntities(['clientinfo_uid' => $params['clientinfo_uid'], 'billing' => PAYMENT['BILLING']['ONETIME'], 'status' => STATUS['UNPAID']]); $template = array_key_exists('template', $params) ? $params['template'] : __FUNCTION__; return view('cells/payment/' . $template, [ 'paymentCellDatas' => [ 'formFilters' => $this->getService()->getFormService()->getFormFilters(), 'formOptions' => $this->getService()->getFormService()->getFormOptions(), 'helper' => $this->getService()->getHelper(), 'entities' => $entities, ] ]); } }