[freeside-commits] branch master updated. 1616f1e265f74b125fac6d88ad63057616c8b2cd

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


The branch, master has been updated
       via  1616f1e265f74b125fac6d88ad63057616c8b2cd (commit)
      from  4847873e256f5472e4b841b2a5c2ba6188add668 (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 1616f1e265f74b125fac6d88ad63057616c8b2cd
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Feb 12 17:34:17 2015 -0800

    brigher purple on-hold, RT#33472

diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index 1cc83b6..0cb6209 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -3331,7 +3331,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 87e7aad..f8de620 100755
--- a/httemplate/browse/part_pkg.cgi
+++ b/httemplate/browse/part_pkg.cgi
@@ -451,15 +451,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