fix rare FP rounding errors on void, RT#84904
[freeside.git] / conf / invoice_template
index ebf8ef7..e90424f 100644 (file)
@@ -1,6 +1,6 @@
 
-                                 { $notice_name || 'Invoice'; }
-                                 { substr("Page $page of $total_pages          ", 0, 19); } { use Date::Format; time2str("%x", $date); }  Invoice #{ $invnum; }
+                                 { emt($notice_name) }
+                                 { substr(emt("Page [_1] of [_2]          ", $page, $total_pages), 0, 19); } { time2str("%x", $date); }  { emt("Invoice #") . $invnum; }
 
 
 { $company_name; }