From 27ca7447dd2ef3fc35767a1494d0b1c0f0c2d79b Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 16 Jul 2010 23:46:39 +0000 Subject: customer tags, RT#9192 --- httemplate/edit/cust_main/top_misc.html | 7 +++++++ httemplate/edit/part_tag.html | 8 ++++++++ httemplate/edit/process/cust_main.cgi | 2 ++ 3 files changed, 17 insertions(+) (limited to 'httemplate/edit') diff --git a/httemplate/edit/cust_main/top_misc.html b/httemplate/edit/cust_main/top_misc.html index d1d436851..cec24bd09 100644 --- a/httemplate/edit/cust_main/top_misc.html +++ b/httemplate/edit/cust_main/top_misc.html @@ -1,5 +1,12 @@ <% &ntable("#cccccc") %> +%# tags +<% include('/elements/tr-select-cust_tag.html', + 'custnum' => $custnum, + 'cgi' => $cgi, + ) +%> + %# agent <% include('/elements/tr-select-agent.html', 'curr_value' => $cust_main->agentnum, diff --git a/httemplate/edit/part_tag.html b/httemplate/edit/part_tag.html index 938e34256..56ba5672c 100644 --- a/httemplate/edit/part_tag.html +++ b/httemplate/edit/part_tag.html @@ -20,4 +20,12 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); +#FF6666 red +#FF9966 orange +#FFFF66 yellow +#66FF66 green +#66FFFF cyan? +#6666FF blue +#FF66FF purple? looks more like pink. CC66FF? + diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi index 1311ba4f3..3158d7bbf 100755 --- a/httemplate/edit/process/cust_main.cgi +++ b/httemplate/edit/process/cust_main.cgi @@ -73,6 +73,8 @@ if ( defined($cgi->param('same')) && $cgi->param('same') eq "Y" ) { ); } +$new->tagnum( [ $cgi->param('tagnum') ] ); + my %usedatetime = ( 'birthdate' => 1 ); foreach my $dfield (qw( birthdate signupdate )) { -- cgit v1.2.1