|
@@ -1320,7 +1320,6 @@ class WholeController extends Curd
|
|
|
|
|
|
// 打小票
|
|
|
if (!empty($premises) && $params['goods_classify'] == 'MEALS') {
|
|
|
- dump("pay 打小票");
|
|
|
$restaurant = SysDept::where('dept_super_id', $premises->dept_id)->where('dept_category', '餐厅')->first();
|
|
|
if (!empty($restaurant->dept_extend_json)) {
|
|
|
$deptExtendJson = json_decode($restaurant->dept_extend_json, true);
|
|
@@ -1697,7 +1696,6 @@ class WholeController extends Curd
|
|
|
} else {
|
|
|
$account->member_account_surplus = $account->member_account_surplus - $item['amount'];
|
|
|
}
|
|
|
- dump($account->member_account_classify . ':' . $account->member_account_surplus);
|
|
|
if ($account->member_account_surplus <= 0) {
|
|
|
MemberService::accountToDone($account->member_account_id, $account->member_account_surplus, $account->member_account_added);
|
|
|
}
|