|
|
@@ -699,9 +699,8 @@ SQL_FUN;
|
|
|
if ($idProject > 0) {
|
|
|
$activeRoute = V::get('_route', '', $_GET);
|
|
|
$route = 'UrlAction_ProjektyKosztorys'; UI::link('default', "Kosztorys", "index.php?_route={$route}&ID_PROJECT={$idProject}", ['className'=>['active'=>($route == $activeRoute)]]);
|
|
|
- UI::link('default', "Przedmiar", "index.php?_route=UrlAction_ProjektyKosztyWstepnychRobot&ID_PROJECT={$idProject}&_task=przedmiar&_print=1");
|
|
|
- UI::link('default', "Przedmiar", "index.php?_route=UrlAction_ProjektyPrzedmiarKosztorys&ID_PROJECT={$idProject}&_print=1");
|
|
|
- UI::link('default', "zestawienie (światłowód i mikrorurki)", "index.php?_route=UrlAction_ProjektyZestawienieSwMikRurKosztorys&ID_PROJECT={$idProject}&_print=1");
|
|
|
+ $route = 'UrlAction_ProjektyPrzedmiarKosztorys'; UI::link('default', "Przedmiar", "index.php?_route={$route}&ID_PROJECT={$idProject}&_print=1", ['className'=>['active'=>($route == $activeRoute)]]);
|
|
|
+ $route = 'UrlAction_ProjektyZestawienieSwMikRurKosztorys'; UI::link('default', "zestawienie (światłowód i mikrorurki)", "index.php?_route={$route}&ID_PROJECT={$idProject}&_print=1", ['className'=>['active'=>($route == $activeRoute)]]);
|
|
|
// UI::link('warning', "oferta", "index.php?_route=UrlAction_ProjektyKosztyWstepnychRobot&ID_PROJECT={$idProject}&_task=oferta", ['target'=>'_blank']);
|
|
|
// UI::link('warning', "oferta (Admin)", "index.php?_route=UrlAction_ProjektyKosztyWstepnychRobot&ID_PROJECT={$idProject}&_task=ofertaAdmin", ['target'=>'_blank']);
|
|
|
// UI::link('warning', "oferta company", "index.php?_route=UrlAction_ProjektyKosztyWstepnychRobot&ID_PROJECT={$idProject}&_task=ofertaCompany", ['target'=>'_blank']);
|
|
|
@@ -710,12 +709,6 @@ SQL_FUN;
|
|
|
UI::link('default', "oferta domyślna (Admin)", "index.php?_route=UrlAction_ProjektyKosztyWstepnychRobot&_task=ofertaDefaultAdmin", ['target'=>'_blank']);
|
|
|
UI::endTag('div');// .btn-group
|
|
|
UI::endTag('div');
|
|
|
- UI::startTag('div');
|
|
|
- switch ($task) {
|
|
|
- case 'oferta': break;
|
|
|
- case '': ?><a class="btn btn-link" href="index.php?_route=UrlAction_ProjektyKosztyWstepnychRobot&ID_PROJECT=<?php echo $idProject; ?>&_print=1" target="_blank"><i class="glyphicon glyphicon-print"></i> Wydruk Kosztorysu</a><?php break;
|
|
|
- }
|
|
|
- UI::endTag('div');
|
|
|
UI::endTag('div');// .container
|
|
|
UI::endTag('div');// .jumbotron
|
|
|
?>
|