Index: openacs-4/packages/invoices/www/offer-ae.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/www/offer-ae.tcl,v diff -u -r1.35 -r1.36 --- openacs-4/packages/invoices/www/offer-ae.tcl 11 Aug 2006 18:06:28 -0000 1.35 +++ openacs-4/packages/invoices/www/offer-ae.tcl 11 Aug 2006 19:37:52 -0000 1.36 @@ -306,7 +306,10 @@ set item(item_units) 0 } - ns_log Notice "Units $item(item_units)" + # Format the display of the units + set item(item_units) [string trimright $item(item_units) 0] + set item(item_units) [string trimright $item(item_units) .] + regsub {\[} $item(comment) {\(} item(comment) regsub {\[} $item(description) {\(} item(description) set item(price_per_unit) [format "%.2f" $item(price_per_unit)]