attributes = post_params(); $form->store_id = get_store_id(); return $this->asJson($form->getCashSetting()); } public function actionEditCashSetting() { $form = new CashForm(); $form->attributes = post_params(); $form->store_id = get_store_id(); return $this->asJson($form->editCashSetting()); } public function actionCashList() { $form = new CashForm(); $form->attributes = all_params(); $form->store_id = get_store_id(); return $this->asJson($form->getCashList()); } }