Merged changes from main CVS up to 2.1.5
[fa-stable.git] / includes / ui / ui_input.inc
index 2ae54e80aa82db5ee29d987e4b2853d782ce2aed..298b964401aa7cda0aa880961ec0c6a887596c3f 100644 (file)
@@ -386,6 +386,12 @@ function email_cell($label, $params="", $id=null)
        label_cell("<a href='mailto:$label'>$label</a>", $params, $id);
 }
 
+function amount_decimal_cell($label, $params="", $id=null)
+{
+       $dec = 0;
+       label_cell(price_decimal_format($label, $dec), "nowrap align=right ".$params, $id);
+}
+
 function amount_cell($label, $bold=false, $params="", $id=null)
 {
        if ($bold)