stanley-king 2 лет назад
Родитель
Сommit
5a39e0844b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      helper/refill/policy/chctlex.php

+ 1 - 1
helper/refill/policy/chctlex.php

@@ -222,7 +222,7 @@ class chctlex
             $rRrofit = $out_price - $r->price();
 
             $lVal = $l->compile_val($lProfit);
-            $rVal = $r->compile_val($lProfit);
+            $rVal = $r->compile_val($rRrofit);
 
             Log::record("auto_match desc_profit lname={$l->name()} lval={$lVal} rname={$r->name()} rval={$rVal}",Log::DEBUG);