Ver código fonte

added missing UI::price

Piotr Labudda 9 anos atrás
pai
commit
9d31169268
1 arquivos alterados com 6 adições e 1 exclusões
  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, ',', ' ');
 	}
 
 }