Beispiel #1
0
 public function init()
 {
     $basic = new Applications_SubForm_Basic($this->getModel());
     $basic->setLegend("Dane podstawowe");
     $this->addSubForm($basic, "basic");
     $settlement = new Applications_SubForm_Settlement($this->getModel());
     $settlement->setLegend("Rozliczenie");
     $this->addSubForm($settlement, "settlement");
 }
Beispiel #2
0
 public function init()
 {
     $basic = new Applications_SubForm_Basic($this->getModel());
     $basic->setLegend("Dane podstawowe");
     $this->addSubForm($basic, "basic");
     $settlement = new Applications_SubForm_Settlement($this->getModel());
     $settlement->setLegend("Rozliczenie");
     $this->addSubForm($settlement, "settlement");
     $policy = new Policy_SubForm_Basic($this->getModel()->policy->current());
     $policy->setLegend("Polisa");
     $this->addSubForm($policy, "policy");
     $this->addTab("shipment-list", "Wysyłka", "applications/partials/shipment-list.phtml");
     $this->addTab("document-list", "Dokumenty", "applications/partials/document-list.phtml");
 }