summaryrefslogtreecommitdiff
path: root/rt/html
diff options
context:
space:
mode:
authorivan <ivan>2008-03-23 23:39:15 +0000
committerivan <ivan>2008-03-23 23:39:15 +0000
commit0b704b4eeb63358df9094b4c68cd1f47d1a9bd23 (patch)
tree84db88b4c01ed6b170c1feea0b749062742f1b2b /rt/html
parentf64d98669cf2a0efb239cb968657b9de7cc22030 (diff)
part 1 of #1160: associate users w/customers, manual editing
Diffstat (limited to 'rt/html')
-rw-r--r--rt/html/Admin/Users/Modify.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/rt/html/Admin/Users/Modify.html b/rt/html/Admin/Users/Modify.html
index 8a24f9c4a..f09470e2b 100644
--- a/rt/html/Admin/Users/Modify.html
+++ b/rt/html/Admin/Users/Modify.html
@@ -103,6 +103,11 @@
</TABLE>
<& /Elements/TitleBoxEnd &>
<br>
+
+<& /Elements/TitleBoxStart, title => loc('Customers') &>
+<& /Elements/EditCustomers, Object => $UserObj, CustomerString=> $CustomerString, ServiceString => $ServiceString &>
+<br>
+
<& /Elements/TitleBoxStart, title => loc('Access control') &>
<INPUT TYPE=HIDDEN NAME="SetEnabled" VALUE="1">
<INPUT TYPE=CHECKBOX NAME="Enabled" VALUE="1" <%$EnabledChecked%>>
@@ -327,6 +332,8 @@ if ($UserObj->Id && $id ne 'new') {
push (@results,@fieldresults);
push @results, ProcessObjectCustomFieldUpdates( ARGSRef => \%ARGS, Object => $UserObj );
+ #deal with freeside customer links
+ push @results, ProcessObjectCustomers( ARGSRef => \%ARGS, Object => $UserObj );
# {{{ Deal with special fields: Privileged, Enabled
if ( $SetPrivileged and $Privileged != $UserObj->Privileged ) {
@@ -418,4 +425,8 @@ $Country => undef
$Pass1 => undef
$Pass2=> undef
$Create=> undef
+$OnlySearchForCustomers => undef
+$OnlySearchForServices => undef
+$CustomerString => undef
+$ServiceString => undef
</%ARGS>