shish 3 anni fa
parent
commit
53cc8b4c2e
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      app-hd/controllers/NoticeController.php

+ 5 - 0
app-hd/controllers/NoticeController.php

@@ -79,6 +79,11 @@ class NoticeController extends PublicController
                             $order->printNum += 1;
                             $order->save();
                         }
+                        $cgShopId = $cg->shopId ?? 0;
+                        $cgShop = ShopClass::getById($cgShopId, true);
+                        if (!empty($cgShop)) {
+                            \bizHd\notice\classes\NoticeClass::cgSuccessMiniNotice($cgShop, $cg);
+                        }
                         $shopId = $order->shopId ?? 0;
                         $shop = ShopClass::getById($shopId, true);
                         if (!empty($shop)) {