summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorivan <ivan>2010-07-16 23:46:39 +0000
committerivan <ivan>2010-07-16 23:46:39 +0000
commit27ca7447dd2ef3fc35767a1494d0b1c0f0c2d79b (patch)
treeeccc428f1c881642ef09fef2b7646f6da83b1604 /httemplate/edit
parent96a5362009cade1872f5de8cab41951c6ee57ef9 (diff)
customer tags, RT#9192
Diffstat (limited to 'httemplate/edit')
-rw-r--r--httemplate/edit/cust_main/top_misc.html7
-rw-r--r--httemplate/edit/part_tag.html8
-rwxr-xr-xhttemplate/edit/process/cust_main.cgi2
3 files changed, 17 insertions, 0 deletions
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?
+
</%init>
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 )) {