Procházet zdrojové kódy

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 před 9 roky
rodič
revize
f02df96cca
1 změnil soubory, kde provedl 6 přidání a 1 odebrání
  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, ',', ' ');
 	}
 
 }