diff -uNr erp-6.x-1.x-dev/erp_accounting/erp_accounting.module erp-6.x-1.x-dev.org/erp_accounting/erp_accounting.module
--- erp-6.x-1.x-dev.org/erp_accounting/erp_accounting.module	2011-02-25 04:06:47.000000000 +0200
+++ erp-6.x-1.x-dev/erp_accounting/erp_accounting.module	2011-04-08 21:02:18.000000000 +0200
@@ -559,7 +559,8 @@
  *
  * @param numeric $amount
  */
-function erp_currency($amount) {
+//function erp_currency($amount) {
+function erp_currency_org($amount) {
   static $format;
 
   if (!$format) {
@@ -576,3 +577,27 @@
   }
   return $format;
 }
+
+function erp_currency($amount) {
+  static $format, $format_sym;
+
+  // php - money-format
+  // http://www.php.net/manual/en/function.money-format.php
+  // strfmon needs to exists and correct locale must be set, could be a problem
+
+  // php - number-format
+  // http://php.net/manual/en/function.number-format.php
+  // not as many problems, as above and more flexible
+
+
+  if (!$format_sym) {
+    $format_sym = variable_get('erp_accounting_currency_symbol', '$ ');
+  }
+
+  if (!$format) {
+    $format = variable_get('erp_accounting_currency_format', '%-12.2f');
+  }
+
+  return $format_sym.trim(number_format(sprintf($format, $amount),2,'.',' '));
+}
+
diff -uNr erp-6.x-1.x-dev/erp.css erp-6.x-1.x-dev.org/erp.css
--- erp-6.x-1.x-dev.org/erp.css	2011-02-25 04:06:47.000000000 +0200
+++ erp-6.x-1.x-dev/erp.css	2011-04-08 20:58:29.000000000 +0200
@@ -338,3 +338,11 @@
   font-size: 1.1em;
   font-family: Verdana,Arial,Helvetica,sans-serif;
 }
+
+/**
+ * currency details css
+ */
+.view-content td.views-field-total {
+  align: right;  // Justify right
+  text-align: right;  // Justify right
+}
