From 47ba21369aba46fbbec9e8e2b9d854a3bb166f1a Mon Sep 17 00:00:00 2001 From: sunsetsystems Date: Sun, 22 Jan 2006 18:07:59 +0000 Subject: [PATCH] minor cosmetic fix --- interface/reports/front_receipts_report.php | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/interface/reports/front_receipts_report.php b/interface/reports/front_receipts_report.php index 1ed067b15..46363b611 100644 --- a/interface/reports/front_receipts_report.php +++ b/interface/reports/front_receipts_report.php @@ -13,6 +13,10 @@ $from_date = fixDate($_POST['form_from_date'], date('Y-m-d')); $to_date = fixDate($_POST['form_to_date'], date('Y-m-d')); + + function bucks($amt) { + return ($amt != 0.00) ? sprintf('%.2f', $amt) : ''; + } ?> @@ -142,13 +146,13 @@ - + - + - + - + - + - + -- 2.11.4.GIT