소스 검색

Merge branch 'master' of biuro.biall-net.pl:plabudda/se

# By Piotr Labudda
# Via Piotr Labudda
* 'master' of biuro.biall-net.pl:plabudda/se:
  added missing UI::price
a.binder 9 년 전
부모
커밋
f02df96cca
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      SE/se-lib/UI.php

+ 6 - 1
SE/se-lib/UI.php

@@ -154,7 +154,12 @@ class UI {
 	}
 
 	public static function jsAjaxTable($params) {
-		
+
+	}
+
+	public static function price($value) {
+		// TODO: if not number type - string wwith wrong format - try to convert?
+		return number_format($value, 2, ',', ' ');
 	}
 
 }