|
@@ -126,7 +126,7 @@ class BonusController extends BaseController {
|
|
|
} else if ($preparePerfLimit !== true && (($w != '0' && $w != '1') || $isCalcMonth != 1)) {
|
|
} else if ($preparePerfLimit !== true && (($w != '0' && $w != '1') || $isCalcMonth != 1)) {
|
|
|
return static::notice(['user' => [],'team'=>[]]);
|
|
return static::notice(['user' => [],'team'=>[]]);
|
|
|
} else if ($preparePerfLimit !== true && (($w == '0' || $w == '1') || $isCalcMonth != 1)) {
|
|
} else if ($preparePerfLimit !== true && (($w == '0' || $w == '1') || $isCalcMonth != 1)) {
|
|
|
- if ($newMonth && $w != '1'){
|
|
|
|
|
|
|
+ if ($newMonth && $w != '1' && $w != '2'){
|
|
|
return static::notice(['user' => [],'team'=>[]]);
|
|
return static::notice(['user' => [],'team'=>[]]);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|