panel($idProject); $this->execPostTasks(); if (1 != V::get('_print', '', $_GET)) { UI::startContainer(['style'=>'text-align:right']); UI::link('link', " Drukuj", Request::getPathUri() . "index.php?_route=UrlAction_ProjektyPrzedmiarKosztorys&ID_PROJECT={$idProject}&_print=1"); UI::endContainer(); } $this->przedmiar($idProject); } catch (Exception $e) { UI::alert('danger', "Error #" . $e->getCode() . "|" . $e->getLine() . ": " . $e->getMessage()); } UI::dol(); } public function przedmiar($idProject) { $idCompany = 0; $admin = false; $companyAdmin = false; $model = $this->getModel($idProject); //DBG::table("subProjectList", $model->subProjectList, __CLASS__, __FUNCTION__, __LINE__); $schema = ProjectKosztorysSchema::getSchema(); DBG::log($schema, 'array', "\$schema"); $projCosts = $this->getProjectCostByCennik($idProject, $idCompany); //DBG::_(true, true, "projCosts", $projCosts, __CLASS__, __FUNCTION__, __LINE__); $hidePrices = true; $viewLayerDataArgs = compact('idProject', 'idCompany', 'admin', 'companyAdmin', 'hidePrices'); UI::setTitleJsTag("Przedmiar robót telekomunikacyjnych [{$idProject}]"); ?>
| idProject; ?> | title; ?> |