add ticket usage count increment trigger, add log, fix card flag update query, fix customer card move update

This commit is contained in:
2016-03-20 15:36:05 +01:00
parent 1d5a5be5bf
commit 7db129de92
18 changed files with 846 additions and 25 deletions

View File

@@ -363,7 +363,11 @@ class Helper {
public static function mkYiiSortItems($config){
$result = [];
foreach ($config as $col ){
$result = $result + Helper::mkYiiSortItem($col[0] ,$col[1]);
if ( count($col) == 1){
$result = $result + Helper::mkYiiSortItem($col[0] ,$col[0]);
}else{
$result = $result + Helper::mkYiiSortItem($col[0] ,$col[1]);
}
}
return $result;
}