add reception account state view and pdf export

This commit is contained in:
2016-01-08 14:06:55 +01:00
parent da29702a79
commit e8df61f123
30 changed files with 1190 additions and 288 deletions

View File

@@ -36,6 +36,8 @@ class AccountState extends \common\models\BaseFitnessActiveRecord
const TYPE_OPEN = 10;
const TYPE_CLOSE = 20;
public $start_date;
/**
* @inheritdoc
*/
@@ -94,6 +96,13 @@ class AccountState extends \common\models\BaseFitnessActiveRecord
}
public function isTypeOpen(){
return $this->type == AccountState::TYPE_OPEN;
}
public function isTypeClose(){
return $this->type == AccountState::TYPE_CLOSE;
}
public static function banknoteValues()
{
return [