[freeside-commits] branch master updated. 53288cefda78454e909759823d5e8cc6e2214bad

Carl J. Adams-Collier cjac at 420.am
Mon Sep 15 18:48:04 PDT 2014


The branch, master has been updated
       via  53288cefda78454e909759823d5e8cc6e2214bad (commit)
      from  866980f54aa0ad5a9ace05d30f96c84b842463bb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 53288cefda78454e909759823d5e8cc6e2214bad
Author: C.J. Adams-Collier <cjac at colliertech.org>
Date:   Mon Sep 15 18:43:19 2014 -0700

    FS RT #28105 - changing the hourly charge back to one decimal place.  nobody cares about less than 6 minutes

diff --git a/FS/FS/part_pkg/sqlradacct_hour.pm b/FS/FS/part_pkg/sqlradacct_hour.pm
index 09cf85c..79e64fb 100644
--- a/FS/FS/part_pkg/sqlradacct_hour.pm
+++ b/FS/FS/part_pkg/sqlradacct_hour.pm
@@ -150,7 +150,7 @@ sub calc_recur {
   }
   if ( $self->option('recur_hourly_charge')  > 0 ) {
     push @$details, "Last month\'s time ".
-                   sprintf('%.3f', $hours). " hours: $hourscharge";
+                   sprintf('%.1f', $hours). " hours: $hourscharge";
   }
 
   my $charges = $hourscharge + $inputcharge + $outputcharge + $totalcharge;

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/part_pkg/sqlradacct_hour.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list