[freeside-commits] branch FREESIDE_3_BRANCH updated. fed764feca62cb39d0e33099229c40bbfed102fd

Ivan ivan at 420.am
Thu Feb 12 17:34:20 PST 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  fed764feca62cb39d0e33099229c40bbfed102fd (commit)
      from  82abe98b0919ac63d1e2b5c3e1b35d7abc8eea52 (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 fed764feca62cb39d0e33099229c40bbfed102fd
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Feb 12 17:34:19 2015 -0800

    brigher purple on-hold, RT#33472

diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index b0cc2a3..944be53 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -3321,7 +3321,7 @@ Class method that returns the list of possible status strings for packages
 =cut
 
 tie my %statuscolor, 'Tie::IxHash', 
-  'on hold'         => '7E0079', #purple!
+  'on hold'         => 'FF00F5', #brighter purple!
   'not yet billed'  => '009999', #teal? cyan?
   'one-time charge' => '0000CC', #blue  #'000000',
   'active'          => '00CC00',
diff --git a/httemplate/browse/part_pkg.cgi b/httemplate/browse/part_pkg.cgi
index a2f79e9..2769f85 100755
--- a/httemplate/browse/part_pkg.cgi
+++ b/httemplate/browse/part_pkg.cgi
@@ -437,15 +437,7 @@ if ( $acl_edit_global ) {
 
 #if ( $cgi->param('active') ) {
   push @header, 'Customer<BR>packages';
-  my %col = (
-    'on hold'         => '7E0079', #purple!
-    'not yet billed'  => '009999', #teal? cyan?
-    'active'          => '00CC00',
-    'suspended'       => 'FF9900',
-    'cancelled'       => 'FF0000',
-    #'one-time charge' => '000000',
-    'charge'          => '000000',
-  );
+  my %col = %{ FS::cust_pkg->statuscolors };
   my $cust_pkg_link = $p. 'search/cust_pkg.cgi?pkgpart=';
   push @fields, sub { my $part_pkg = shift;
                         [

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

Summary of changes:
 FS/FS/cust_pkg.pm              |    2 +-
 httemplate/browse/part_pkg.cgi |   10 +---------
 2 files changed, 2 insertions(+), 10 deletions(-)




More information about the freeside-commits mailing list