shish 3 lat temu
rodzic
commit
b6467b758f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app-ghs/controllers/StatItemController.php

+ 1 - 1
app-ghs/controllers/StatItemController.php

@@ -76,7 +76,7 @@ class StatItemController extends BaseController
                     if (isset($stat[$productId]['gross'])) {
                     if (isset($stat[$productId]['gross'])) {
                         $stat[$productId]['gross'] = bcadd($stat[$productId]['gross'], $currentGross, 2);
                         $stat[$productId]['gross'] = bcadd($stat[$productId]['gross'], $currentGross, 2);
                     } else {
                     } else {
-                        $stat[$productId]['gross'] = $currentAmount;
+                        $stat[$productId]['gross'] = $currentGross;
                     }
                     }
                 }
                 }
             }
             }