shish 4 lat temu
rodzic
commit
909a9fb1cb
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      biz-ghs/stat/classes/StatKdClass.php

+ 1 - 1
biz-ghs/stat/classes/StatKdClass.php

@@ -26,7 +26,7 @@ class StatKdClass extends BaseClass
         $todayDate = date('Y-m-d');
         $todayStartTime = $todayDate . ' 00:00:00';
         $todayEndTime = $todayDate . ' 23:59:59';
-        $staffList = ShopAdminClass::getAllByCondition(['mainId' => $mainId], null, '*', 'id', true);
+        $staffList = ShopAdminClass::getAllByCondition(['mainId' => $mainId, 'isPt' => 0], null, '*', 'id', true);
         $kf = [];
         if (!empty($staffList)) {
             foreach ($staffList as $staff) {