|
@@ -2971,7 +2971,7 @@ public function showPowiazaniaEnergaRumKontrahenciPowiazania($items) {
|
|
case 'OPERACYJNA_BAZA_ZGLOSZEN': $formFilterHeadDesc = 'Liczba pozycji na liście: <span id="smad-filter-desc-kontrahenci">0</span>'; break;
|
|
case 'OPERACYJNA_BAZA_ZGLOSZEN': $formFilterHeadDesc = 'Liczba pozycji na liście: <span id="smad-filter-desc-kontrahenci">0</span>'; break;
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
|
|
+ $formAddNewData = '';
|
|
switch($type) {
|
|
switch($type) {
|
|
case 'KONTRAHENCI':
|
|
case 'KONTRAHENCI':
|
|
$groupFilterList = '
|
|
$groupFilterList = '
|
|
@@ -2994,9 +2994,9 @@ public function showPowiazaniaEnergaRumKontrahenciPowiazania($items) {
|
|
$graphView = '<div class="smad-kontrahenci-graph-view" id="smad-kontrahenci-graph-view" style="display: none;"></div>';
|
|
$graphView = '<div class="smad-kontrahenci-graph-view" id="smad-kontrahenci-graph-view" style="display: none;"></div>';
|
|
|
|
|
|
$csvExampleKontrahenci = Request::getPathUri() . 'projects/bocian/theme/assets/file_example/kontrahenci_example.zip';
|
|
$csvExampleKontrahenci = Request::getPathUri() . 'projects/bocian/theme/assets/file_example/kontrahenci_example.zip';
|
|
- $formAddNewData ='
|
|
|
|
- <li><a title="IMPORT KONTRAHENCI" onClick="showViewUploadFile(event, \'Import podmiotów/kontrahentów\', \'kontrahenci\', \'no\', \''.$csvExampleKontrahenci.'\' )" class="btn btn-info">IMPORT KONTRAHENCI</a></li>
|
|
|
|
- <li><a title="DODAJ KONTRAHENCI" onClick="createKontrahentAjax(event)" class="btn btn-info">+ DODAJ PODMIOT</a></li>'; //todo: dodać obsługe doddawania kontrahentow
|
|
|
|
|
|
+ // $formAddNewData ='
|
|
|
|
+ // <li><a title="IMPORT KONTRAHENCI" onClick="showViewUploadFile(event, \'Import podmiotów/kontrahentów\', \'kontrahenci\', \'no\', \''.$csvExampleKontrahenci.'\' )" class="btn btn-info">IMPORT KONTRAHENCI</a></li>
|
|
|
|
+ // <li><a title="DODAJ KONTRAHENCI" onClick="createKontrahentAjax(event)" class="btn btn-info">+ DODAJ PODMIOT</a></li>'; //todo: dodać obsługe doddawania kontrahentow
|
|
|
|
|
|
$buttonMoveToGroup = '<a title="DODAJ WYBRANE DO GRUPY" onClick="addKontrahenciToGroup(event)" class="btn btn-info">DODAJ WYBRANE DO GRUPY</a>';
|
|
$buttonMoveToGroup = '<a title="DODAJ WYBRANE DO GRUPY" onClick="addKontrahenciToGroup(event)" class="btn btn-info">DODAJ WYBRANE DO GRUPY</a>';
|
|
$buttonMoveToGroup .= '<a title="DODAJ WSZYSTKIE DO GRUPY" onClick="addKontrahenciAllToGroup(event)" class="btn btn-info" style="margin-left:12px">DODAJ WSZYSTKIE DO GRUPY</a>';
|
|
$buttonMoveToGroup .= '<a title="DODAJ WSZYSTKIE DO GRUPY" onClick="addKontrahenciAllToGroup(event)" class="btn btn-info" style="margin-left:12px">DODAJ WSZYSTKIE DO GRUPY</a>';
|
|
@@ -3040,9 +3040,9 @@ public function showPowiazaniaEnergaRumKontrahenciPowiazania($items) {
|
|
$graphView = '<div class="smad-kontrahenci-graph-view" style="display: none;"></div>';
|
|
$graphView = '<div class="smad-kontrahenci-graph-view" style="display: none;"></div>';
|
|
|
|
|
|
$csvExampleKontrahenci = Request::getPathUri() . 'projects/bocian/theme/assets/file_example/kontrahenci_example.zip';
|
|
$csvExampleKontrahenci = Request::getPathUri() . 'projects/bocian/theme/assets/file_example/kontrahenci_example.zip';
|
|
- $formAddNewData ='
|
|
|
|
- <li><a title="IMPORT KONTRAHENCI" onClick="showViewUploadFile(event, \'Import podmiotów/kontrahentów\', \'kontrahenci\', \'no\', \''.$csvExampleKontrahenci.'\' )" class="btn btn-info">IMPORT KONTRAHENCI</a></li>
|
|
|
|
- <li><a title="DODAJ KONTRAHENCI" onClick="createKontrahentAjax(event)" class="btn btn-info">+ DODAJ PODMIOT</a></li>'; //todo: dodać obsługe doddawania kontrahentow
|
|
|
|
|
|
+ // $formAddNewData ='
|
|
|
|
+ // <li><a title="IMPORT KONTRAHENCI" onClick="showViewUploadFile(event, \'Import podmiotów/kontrahentów\', \'kontrahenci\', \'no\', \''.$csvExampleKontrahenci.'\' )" class="btn btn-info">IMPORT KONTRAHENCI</a></li>
|
|
|
|
+ // <li><a title="DODAJ KONTRAHENCI" onClick="createKontrahentAjax(event)" class="btn btn-info">+ DODAJ PODMIOT</a></li>'; //todo: dodać obsługe doddawania kontrahentow
|
|
|
|
|
|
$buttonMoveToGroup = '<a title="DODAJ WYBRANE DO GRUPY" onClick="addKontrahenciToGroup(event)" class="btn btn-info">DODAJ WYBRANE DO GRUPY</a>';
|
|
$buttonMoveToGroup = '<a title="DODAJ WYBRANE DO GRUPY" onClick="addKontrahenciToGroup(event)" class="btn btn-info">DODAJ WYBRANE DO GRUPY</a>';
|
|
$buttonMoveToGroup .= '<a title="DODAJ WSZYSTKIE DO GRUPY" onClick="addKontrahenciAllToGroup(event)" class="btn btn-info" style="margin-left:12px">DODAJ WSZYSTKIE DO GRUPY</a>';
|
|
$buttonMoveToGroup .= '<a title="DODAJ WSZYSTKIE DO GRUPY" onClick="addKontrahenciAllToGroup(event)" class="btn btn-info" style="margin-left:12px">DODAJ WSZYSTKIE DO GRUPY</a>';
|
|
@@ -3086,9 +3086,9 @@ public function showPowiazaniaEnergaRumKontrahenciPowiazania($items) {
|
|
$graphView = '<div class="smad-pracownicy-graph-view" id="smad-pracownicy-graph-view" style="display: none;"></div>';
|
|
$graphView = '<div class="smad-pracownicy-graph-view" id="smad-pracownicy-graph-view" style="display: none;"></div>';
|
|
|
|
|
|
$csvExamplePracownicy = Request::getPathUri() . 'projects/bocian/theme/assets/file_example/pracownicy_example.zip';
|
|
$csvExamplePracownicy = Request::getPathUri() . 'projects/bocian/theme/assets/file_example/pracownicy_example.zip';
|
|
- $formAddNewData ='
|
|
|
|
- <li><a title="IMPORT PRACOWNIKÓW" onClick="showViewUploadFile(event, \'Import osób\', \'pracownicy\', \'yes\', \''.$csvExamplePracownicy.'\' )" class="btn btn-info">IMPORT PRACOWNIKÓW</a></li>
|
|
|
|
- <li><a title="DODAJ PRACOWNIKÓW" onClick="createPracownikAjax(event)" class="btn btn-info" >+ DODAJ OSOBĘ</a></li>'; //todo: dodać obsługe doddawania pracownikow
|
|
|
|
|
|
+ // $formAddNewData ='
|
|
|
|
+ // <li><a title="IMPORT PRACOWNIKÓW" onClick="showViewUploadFile(event, \'Import osób\', \'pracownicy\', \'yes\', \''.$csvExamplePracownicy.'\' )" class="btn btn-info">IMPORT PRACOWNIKÓW</a></li>
|
|
|
|
+ // <li><a title="DODAJ PRACOWNIKÓW" onClick="createPracownikAjax(event)" class="btn btn-info" >+ DODAJ OSOBĘ</a></li>'; //todo: dodać obsługe doddawania pracownikow
|
|
|
|
|
|
$buttonMoveToGroup = '<a title="DODAJ WYBRANE DO GRUPY" onClick="addPracownikToGroup(event)" class="btn btn-info">DODAJ WYBRANE DO GRUPY</a>';
|
|
$buttonMoveToGroup = '<a title="DODAJ WYBRANE DO GRUPY" onClick="addPracownikToGroup(event)" class="btn btn-info">DODAJ WYBRANE DO GRUPY</a>';
|
|
$buttonMoveToGroup .= '<a title="DODAJ WSZYSTKIE DO GRUPY" onClick="addPracownikAllToGroup(event)" class="btn btn-info" style="margin-left:12px">DODAJ WSZYSTKIE DO GRUPY</a>';
|
|
$buttonMoveToGroup .= '<a title="DODAJ WSZYSTKIE DO GRUPY" onClick="addPracownikAllToGroup(event)" class="btn btn-info" style="margin-left:12px">DODAJ WSZYSTKIE DO GRUPY</a>';
|
|
@@ -3141,55 +3141,50 @@ public function showPowiazaniaEnergaRumKontrahenciPowiazania($items) {
|
|
';
|
|
';
|
|
$view .= ' <div class="col-sm-12 col-md-6 padding-lr-0">';
|
|
$view .= ' <div class="col-sm-12 col-md-6 padding-lr-0">';
|
|
$view .= ' <div class="form-steps">';
|
|
$view .= ' <div class="form-steps">';
|
|
- // start:form steps wizard
|
|
|
|
$view .= ' <div class="row smad-wizard" style="border-bottom:0;">';
|
|
$view .= ' <div class="row smad-wizard" style="border-bottom:0;">';
|
|
- // <div class="step-item"><a href="' . $outLinkOD . '">Krok 1</a></div>
|
|
|
|
- // <div class="step-title">Pracownicy <span class="top--count-selected-item-pracownicy"></span></div>
|
|
|
|
- $view .= '
|
|
|
|
- <div class="col-xs-4 col-md-4 smad-wizard-step '.$outStepOdCompleted.'">
|
|
|
|
- <div class="text-center smad-wizard-stepnum"> </div>
|
|
|
|
- <div class="progress"><div class="progress-bar"></div></div>
|
|
|
|
- <a href="' . $outLinkOD . '" class="smad-wizard-dot"></a>
|
|
|
|
- <div class="smad-wizard-info complete text-center">
|
|
|
|
- <div class="step-item"><a href="' . $outLinkOD . '">Pracownicy <span class="top--count-selected-item-pracownicy"></span></a></div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- ';
|
|
|
|
- // <div class="step-item"><a href="' . $outLinkDO . '">Krok 2</a></div>
|
|
|
|
- // <div class="step-title">Kontrahenci <span class="top--count-selected-item-kontrahenci"></span></div>
|
|
|
|
- $view .= '
|
|
|
|
- <div class="col-xs-4 col-md-4 smad-wizard-step ' . $outStepDoCompleted . ' ">
|
|
|
|
- <div class="text-center smad-wizard-stepnum"> </div>
|
|
|
|
- <div class="progress"><div class="progress-bar"></div></div>
|
|
|
|
- <a href="' . $outLinkDO . '" class="smad-wizard-dot"></a>
|
|
|
|
- <div class="smad-wizard-info text-center">
|
|
|
|
- <div class="step-item"><a href="' . $outLinkDO . '">Kontrahenci <span class="top--count-selected-item-kontrahenci"></span></a></div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- ';
|
|
|
|
- // <div class="step-item">Krok 3</div>
|
|
|
|
- // <div class="step-title">Szukanie powiązań</div>
|
|
|
|
- $view .= '
|
|
|
|
- <div class="col-xs-4 col-md-4 smad-wizard-step ">
|
|
|
|
- <div class="text-center smad-wizard-stepnum"> </div>
|
|
|
|
- <div class="progress"><div class="progress-bar"></div></div>
|
|
|
|
- <a href="#" class="smad-wizard-dot"></a>
|
|
|
|
- <div class="smad-wizard-info text-center">
|
|
|
|
- <div class="step-item">Szukanie powiązań</div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- ';
|
|
|
|
|
|
+ // $view .= '
|
|
|
|
+ // <div class="col-xs-4 col-md-4 smad-wizard-step '.$outStepOdCompleted.'">
|
|
|
|
+ // <div class="text-center smad-wizard-stepnum"> </div>
|
|
|
|
+ // <div class="progress"><div class="progress-bar"></div></div>
|
|
|
|
+ // <a href="' . $outLinkOD . '" class="smad-wizard-dot"></a>
|
|
|
|
+ // <div class="smad-wizard-info complete text-center">
|
|
|
|
+ // <div class="step-item"><a href="' . $outLinkOD . '">Pracownicy <span class="top--count-selected-item-pracownicy"></span></a></div>
|
|
|
|
+ // </div>
|
|
|
|
+ // </div>
|
|
|
|
+ // ';
|
|
|
|
+ // $view .= '
|
|
|
|
+ // <div class="col-xs-4 col-md-4 smad-wizard-step ' . $outStepDoCompleted . ' ">
|
|
|
|
+ // <div class="text-center smad-wizard-stepnum"> </div>
|
|
|
|
+ // <div class="progress"><div class="progress-bar"></div></div>
|
|
|
|
+ // <a href="' . $outLinkDO . '" class="smad-wizard-dot"></a>
|
|
|
|
+ // <div class="smad-wizard-info text-center">
|
|
|
|
+ // <div class="step-item"><a href="' . $outLinkDO . '">Kontrahenci <span class="top--count-selected-item-kontrahenci"></span></a></div>
|
|
|
|
+ // </div>
|
|
|
|
+ // </div>
|
|
|
|
+ // ';
|
|
|
|
+ // $view .= '
|
|
|
|
+ // <div class="col-xs-4 col-md-4 smad-wizard-step ">
|
|
|
|
+ // <div class="text-center smad-wizard-stepnum"> </div>
|
|
|
|
+ // <div class="progress"><div class="progress-bar"></div></div>
|
|
|
|
+ // <a href="#" class="smad-wizard-dot"></a>
|
|
|
|
+ // <div class="smad-wizard-info text-center">
|
|
|
|
+ // <div class="step-item">Szukanie powiązań</div>
|
|
|
|
+ // </div>
|
|
|
|
+ // </div>
|
|
|
|
+ // ';
|
|
$view .= ' </div>'; // .smad-wizard
|
|
$view .= ' </div>'; // .smad-wizard
|
|
$view .= ' </div>'; // .form-steps
|
|
$view .= ' </div>'; // .form-steps
|
|
$view .= ' </div>'; // .col-sm-12 col-md-6 padding-lr-0
|
|
$view .= ' </div>'; // .col-sm-12 col-md-6 padding-lr-0
|
|
$view .= ' </div>'; // #smad-menu-section
|
|
$view .= ' </div>'; // #smad-menu-section
|
|
$view .= ' </div>'; // .container-fluid
|
|
$view .= ' </div>'; // .container-fluid
|
|
|
|
+ // $view .= '
|
|
|
|
+ // <div class="container-fluid">
|
|
|
|
+ // <div class=" padding-lr-0">
|
|
|
|
+ // <div class="smad-divider"></div>
|
|
|
|
+ // </div>
|
|
|
|
+ // </div>
|
|
|
|
+ // ';
|
|
$view .= '
|
|
$view .= '
|
|
- <div class="container-fluid">
|
|
|
|
- <div class=" padding-lr-0">
|
|
|
|
- <div class="smad-divider"></div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
<div class="container-fluid">
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="row">
|
|
<div>
|
|
<div>
|