|
@@ -823,7 +823,7 @@ public function showPowiazaniaEnergaRumKontrahenciPowiazania($items) {
|
|
|
</ogc:Filter>
|
|
|
';
|
|
|
}
|
|
|
-
|
|
|
+// ogc filter w środku ogcand potem ogcnot potem PropertyIsEqualTo
|
|
|
$backRefFilter = [];
|
|
|
if ($idGroup > 0) {
|
|
|
$backRefFilter['__backRef'] = [
|
|
@@ -879,6 +879,8 @@ public function showPowiazaniaEnergaRumKontrahenciPowiazania($items) {
|
|
|
//'f_ID' => $id,
|
|
|
'limit' => $limit,
|
|
|
'limitstart' => $limitstart, // offset
|
|
|
+ 'order_by' => 'ID', // sortowanie po kolumnie
|
|
|
+ 'order_dir' => 'DESC', // kierunek sortowania
|
|
|
], $searchParams, $filtersParams, $backRefFilter));
|
|
|
$total = $query->getTotal();
|
|
|
$items = $query->getItems();
|
|
@@ -1680,7 +1682,7 @@ public function showPowiazaniaEnergaRumKontrahenciPowiazania($items) {
|
|
|
|
|
|
$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 .= ''
|
|
|
$formSmadReaportTitleInput = '<input type="text" class="form-control smad-reaport-title-kontrahenci" placeholder="Default reaport" value="" />';
|
|
|
|
|
|
$showButtonNextStep = '';
|