|
|
@@ -100,7 +100,7 @@ class CurrenciesConversionsForm extends Model
|
|
|
$model->TO_CURRENCY_ID = $this->to_currency_id;
|
|
|
$model->PRODUCT_RATE = $this->product_rate;
|
|
|
$model->BONUSES_RATE = $this->bonuses_rate;
|
|
|
- $model->CREATED_AT = Date::nowTime();
|
|
|
+ $model->CREATED_AT = date('Y-m-d H:i:s', Date::nowTime());
|
|
|
$model->CREATED_BY = \Yii::$app->user->id;;
|
|
|
if (!$model->save()) {
|
|
|
throw new Exception(Form::formatErrorsForApi($model->getErrors()));
|