yii2tech / balance

Balance accounting (bookkeeping) system based on debit and credit principle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Account name not specified

dbd5 opened this issue · comments

commented

Hi @klimov-paul ,

When an account is created on the fly, the account name is left blank. Your design provides every information needed to name the account when it is generated (for example, $userId . $accountType).
Did you make a decision not to name the account or is my configuration wrong somehow?

Thanks

Account name is not necessary: such atribute is not used anywhere at this extension.

You may use ManagerActiveRecord and automatically generate name for the account at ActiveRecord::afterSave(), if you need it.