|
|
@@ -86,6 +86,22 @@ class printUtil
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ $mainId = $shop->mainId ?? 0;
|
|
|
+ $shopId = $shop->id ?? 0;
|
|
|
+ $staffList = ShopAdminClass::getAllByCondition(['mainId' => $mainId], null, '*', null, true);
|
|
|
+ if (!empty($staffList)) {
|
|
|
+ foreach ($staffList as $staff) {
|
|
|
+ $remind = $staff->remind ?? 0;
|
|
|
+ $isPt = $staff->isPt ?? 0;
|
|
|
+ $delStatus = $staff->delStatus ?? 0;
|
|
|
+ if ($isPt == 0 && $remind == 1 && $delStatus == 0) {
|
|
|
+ $mobile = $staff->mobile ?? '';
|
|
|
+ sms::send($mobile . ',' . $shopId, '请注意,您有一个订单花材很多,小票没有打出来。门店{$var}');
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
public function signature($time)
|