|
|
@@ -59,7 +59,8 @@ class WorkController extends BaseController
|
|
|
$shopId = $this->shopId;
|
|
|
$ext = ShopExtClass::getByCondition(['shopId' => $shopId], true);
|
|
|
$mtAlone = $ext->mtAlone ?? 0;
|
|
|
- if ($mtAlone == 1) {
|
|
|
+ $isCashier = $get['isCashier'] ?? 0;
|
|
|
+ if ($mtAlone == 1 && $isCashier == 1) {
|
|
|
$where['fromType'] = ['in', [1, 2, 3]];
|
|
|
}
|
|
|
}
|