From 1616f1e265f74b125fac6d88ad63057616c8b2cd Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 12 Feb 2015 17:34:17 -0800 Subject: [PATCH] brigher purple on-hold, RT#33472 --- FS/FS/cust_pkg.pm | 2 +- httemplate/browse/part_pkg.cgi | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index 1cc83b6a0..0cb620932 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 87e7aad90..f8de620a7 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
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; [ -- 2.11.0