shish 4 жил өмнө
parent
commit
7f9eeb98cb

+ 1 - 1
app-hd/controllers/GhsDebtChangeController.php

@@ -16,7 +16,7 @@ class GhsDebtChangeController extends BaseController
     {
         $get = Yii::$app->request->get();
         $ghsId = $get['ghsId'] ?? 0;
-        $ghs = GhsClass::getById($ghsId);
+        $ghs = GhsClass::getById($ghsId, true);
         GhsClass::valid($ghs, $this->shopId);
         $ptStyle = dict::getDict('ptStyle', 'hd');
         $where = [];