brigher purple on-hold, RT#33472
authorIvan Kohler <ivan@freeside.biz>
Fri, 13 Feb 2015 01:34:17 +0000 (17:34 -0800)
committerIvan Kohler <ivan@freeside.biz>
Fri, 13 Feb 2015 01:34:17 +0000 (17:34 -0800)
FS/FS/cust_pkg.pm
httemplate/browse/part_pkg.cgi

index 1cc83b6..0cb6209 100644 (file)
@@ -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',
index 87e7aad..f8de620 100755 (executable)
@@ -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;
                         [