add backand ticket/index changes, add backand\ticket\index export pdf, xls

This commit is contained in:
2016-06-29 20:18:47 +02:00
parent 06eca0fe03
commit 5438c9a038
20 changed files with 870 additions and 284 deletions

View File

@@ -5,7 +5,7 @@ return [
'supportEmail' => 'rocho02@gmail.com',
'infoEmail' => 'info@rocho-net.hu',
'user.passwordResetTokenExpire' => 3600,
'version' => 'v0.0.75',
'version' => 'v0.0.76',
'company' => 'movar',//gyor
'company_name' => "Freimann Kft.",
'product_visiblity' => 'account',// on reception which products to display. account or global

View File

@@ -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 = [ ];