shish 3 лет назад
Родитель
Сommit
dd461a7855
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      app-hd/controllers/PurchaseController.php

+ 4 - 0
app-hd/controllers/PurchaseController.php

@@ -407,6 +407,10 @@ class PurchaseController extends BaseController
         }
         $customId = $info['customId'] ?? 0;
         $custom = CustomClass::getById($customId);
+        $customName = $custom['name'] ?? '';
+        $mobile = $custom['mobile'] ?? '';
+        $info['customName'] = $customName;
+        $info['mobile'] = $mobile;
         $hasDebtPay = $custom['debt'] ?? 0;
         $book = $info['book'] ?? 0;
         $presell = $info['presell'] ?? 0;