|
|
@@ -724,12 +724,12 @@ class DeclarationForm extends Model
|
|
|
if ($this->decLv != $toDecLevel) {
|
|
|
// if ($hasInstalment && $decLevel['LEVEL_NAME'] == 'Elite'){
|
|
|
// }else{
|
|
|
- throw new Exception(Yii::t('app', 'totalBVCanNotLessThanNextSelectedLevelBV'));
|
|
|
+ throw new Exception(Yii::t('app', 'totalBVCanNotLessThanNextSelectedLevelBV') . '-1');
|
|
|
// }
|
|
|
}
|
|
|
- if ($hasInstalment && $decLevel['LEVEL_NAME'] == 'BA'){
|
|
|
- throw new Exception(Yii::t('app', 'totalBVCanNotLessThanNextSelectedLevelBV'));
|
|
|
- }
|
|
|
+// if ($hasInstalment && $decLevel['LEVEL_NAME'] == 'BA'){
|
|
|
+// throw new Exception(Yii::t('app', 'totalBVCanNotLessThanNextSelectedLevelBV'));
|
|
|
+// }
|
|
|
$this->_decAmount = $totalAmount;
|
|
|
$this->_decPv = $totalPv;
|
|
|
$this->_decAmountStandard = $totalAmountStandard;
|