|
|
@@ -88,7 +88,7 @@ class OrderPeriodAdjustForm extends Model
|
|
|
$this->addError('modernPeriod', Yii::t('ctx', 'invalidPcNo'));
|
|
|
return false;
|
|
|
}
|
|
|
- if (!((+$period['IS_CLOSED'] == 1) && (+$period['IS_SENT'] == 0))) {
|
|
|
+ if ($period['IS_SENT'] == 1) {
|
|
|
$this->addError('orderSn', Yii::t('ctx', 'orderHasBeenConnected'));
|
|
|
return false;
|
|
|
}
|