Ken 1 settimana fa
parent
commit
82730ed5a8
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      app/Services/BackflowService.php

+ 1 - 0
app/Services/BackflowService.php

@@ -39,6 +39,7 @@ class BackflowService extends BaseService
         $difference = abs($difference);
         if ($difference >= $restriction) {
             $backflow->amount = bcmul($difference, $backflow->backflow_ratio, 2);
+            $backflow->amount = $difference;
         } else {
             $backflow->amount = 0;
         }