public function indexAction()
 {
     $appraisalreleaseForm1 = new AppraisalreleaseForm();
     $appraisalreleaseForm1->addElementsForm_1();
     $appraisalreleaseForm1->setDecorators(array('FormElements', 'Form'));
     $appraisalreleaseForm1->removeDecorator('form');
     $this->view->fieldsetinputs1 = $appraisalreleaseForm1;
     $appraisalreleaseFormPage = new AppraisalreleaseForm();
     $appraisalreleaseFormPage->addElementsFormPage();
     $appraisalreleaseFormPage->setDecorators(array('FormElements', 'Form'));
     $appraisalreleaseFormPage->removeDecorator('form');
     $this->view->fieldsetinputspage = $appraisalreleaseFormPage;
     $appraisalreleaseForm2 = new AppraisalreleaseForm();
     $appraisalreleaseForm2->addElementsForm_2();
     $appraisalreleaseForm2->setDecorators(array('FormElements', 'Form'));
     $appraisalreleaseForm2->removeDecorator('form');
     $this->view->fieldsetinputs2 = $appraisalreleaseForm2;
     $appraisalreleaseForm3 = new AppraisalreleaseForm();
     $appraisalreleaseForm3->addElementsForm_3();
     $appraisalreleaseForm3->setDecorators(array('FormElements', 'Form'));
     $appraisalreleaseForm3->removeDecorator('form');
     $this->view->fieldsetinputs3 = $appraisalreleaseForm3;
     $form = new TreatmentForm();
     $form->addAttributesForm($this->view->baseUrl . '/result/appraisalrelease/save', "appraisalrelease_result_form");
     $form->createToolbar(true, true, true);
     $form->addElementsForm();
     $this->view->treatment = $form;
 }
 public function indexAction()
 {
     $controlbillingForm = new ControlbillingForm();
     $controlbillingForm->addElementsForm();
     $controlbillingForm->setDecorators(array('FormElements', 'Form'));
     $controlbillingForm->removeDecorator('form');
     $this->view->fieldsetinputs = $controlbillingForm;
     $controlbillingdivdate = new ControlbillingForm();
     $controlbillingdivdate->addElementsDivDateForm();
     $controlbillingdivdate->setDecorators(array('FormElements', 'Form'));
     $controlbillingdivdate->removeDecorator('form');
     $this->view->fieldsetdateinputs = $controlbillingdivdate;
     $controlbillingdivlot = new ControlbillingForm();
     $controlbillingdivlot->addElementsLoteForm();
     $controlbillingdivlot->setDecorators(array('FormElements', 'Form'));
     $controlbillingdivlot->removeDecorator('form');
     $this->view->fieldsetlotinputs = $controlbillingdivlot;
     $param = $this->_request->getParam('param');
     if (isset($param)) {
         $cdrequest = $param[0];
     } else {
         $cdrequest = "0";
     }
     $form = new TreatmentForm();
     $form->addAttributesForm($this->view->baseUrl . '/billing/controlbilling/save', "controlbilling_billing_form");
     $form->createToolbar(true, true, true);
     $form->addElementsForm();
     $this->view->treatment = $form;
     $this->getFormData($cdrequest);
 }
 public function indexAction()
 {
     $budgetbillingData = $this->_request->getParam('data');
     print_r($budgetbillingData);
     $budgetbillingCovenant = $this->_request->getParam('covenant');
     if (isset($budgetbillingCovenant)) {
         $budgetbillingCovenant = explode(',', $budgetbillingCovenant);
         $this->view->budgetbillingCovenant = $budgetbillingCovenant;
     }
     $param = $this->_request->getParam('param');
     if (isset($param)) {
         $cdrequest = $param[0];
     } else {
         $cdrequest = "0";
     }
     $form = new TreatmentForm();
     $form->addAttributesForm($this->view->baseUrl . '/reception/treatment/save', "treatment_reception_form");
     $form->createToolbar(true, true, true);
     $form->addElementsForm();
     $this->view->treatment = $form;
     if (isset($budgetbillingData)) {
         $budgetbillingData = json_decode($budgetbillingData, true);
         $this->view->budgetbillingData = $budgetbillingData;
     }
     $this->getFormData($cdrequest);
     /*
      * 
      *  Rever como ele trata o usuário que não está logado!
      * 
      */
     $userInfo = Zend_Auth::getInstance()->getStorage()->read();
     $this->view->cduser = $userInfo->cdusergslab;
     $this->view->nmuser = $userInfo->nmusergslab;
 }
 public function indexAction()
 {
     $param = $this->_request->getParam('param');
     if (isset($param)) {
         $cdrequest = $param[0];
     } else {
         $cdrequest = "0";
     }
     $form = new TreatmentForm();
     $form->addAttributesForm($this->view->baseUrl . '/reception/patientsituation/save', "patientsituation_reception_form");
     $form->createToolbar(true, true, true);
     $form->addElementsForm();
     $this->view->treatment = $form;
     $this->getFormData($cdrequest);
 }