[freeside-commits] branch master updated. ec7a38be9f65ebfe5b950f552dc39beb7df1c8cb

Ivan ivan at 420.am
Wed Jun 6 13:41:56 PDT 2012


The branch, master has been updated
       via  ec7a38be9f65ebfe5b950f552dc39beb7df1c8cb (commit)
      from  b0798c516cf4e20fdb8eb949519d992122fcec3f (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 ec7a38be9f65ebfe5b950f552dc39beb7df1c8cb
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Jun 6 13:41:53 2012 -0700

    show one decimal place in duration summary format, RT#18000

diff --git a/FS/FS/detail_format/sum_duration_prefix.pm b/FS/FS/detail_format/sum_duration_prefix.pm
index 65959cc..0459041 100644
--- a/FS/FS/detail_format/sum_duration_prefix.pm
+++ b/FS/FS/detail_format/sum_duration_prefix.pm
@@ -71,7 +71,7 @@ sub finish {
       $prefix,
       map({ 
           $_->{count},
-          sprintf('%.01f min',$_->{duration}/60),
+          sprintf('%.01f min', $_->{duration}/60),
         } @subtotals ),
       $self->money_char . sprintf('%.02f',$total_amount),
     );

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

Summary of changes:
 FS/FS/detail_format/sum_duration_prefix.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list