implement registration in backend
This commit is contained in:
@@ -59,7 +59,7 @@ class CollectionCreate extends \common\models\Collection
|
||||
if (parent::beforeSave($insert)) {
|
||||
$this->id_user = Yii::$app->user->id;
|
||||
$this->created_by = Yii::$app->user->id;
|
||||
$paidAt = Transfer::mkPaidAtTotals($this->timestampStart, $this->timestampEnd, $this->user->id, null, $this->account->id_account, $this->accounts, $this->accountMap);
|
||||
$paidAt = Transfer::mkPaidAtTotals($this->timestampStart, $this->timestampEnd, $this->user->id, null, $this->account->id_account, $this->accounts );
|
||||
$this->money = $paidAt['total'];
|
||||
return true;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user