add backand ticket/index changes, add backand\ticket\index export pdf, xls
This commit is contained in:
@@ -478,6 +478,17 @@ class Transfer extends \common\models\BaseFitnessActiveRecord {
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
public static function toStatusName($id) {
|
||||
$result = "";
|
||||
$arr = static::statuses();
|
||||
|
||||
if (array_key_exists ( $id, $arr )) {
|
||||
$result = $arr [$id];
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
public static function readUserSoldTransfers($user) {
|
||||
$transfers = [ ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user