shish 3 лет назад
Родитель
Сommit
331ae9bacc
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      console/controllers/CgController.php

+ 2 - 0
console/controllers/CgController.php

@@ -29,6 +29,8 @@ class CgController extends Controller
             }
             $order->remainDebtPrice = 0;
             $order->save();
+            $cg->remainDebtPrice = 0;
+            $cg->save();
         }
     }