add reception account state view and pdf export
This commit is contained in:
@@ -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 [
|
||||
|
||||
Reference in New Issue
Block a user