Jelajahi Sumber

added missing UI::price

Piotr Labudda 9 tahun lalu
induk
melakukan
9d31169268
1 mengubah file dengan 6 tambahan dan 1 penghapusan
  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, ',', ' ');
 	}
 
 }