diff options
author | ivan <ivan> | 2008-03-23 23:38:49 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-03-23 23:38:49 +0000 |
commit | fa741a3f4e5e281d81f62b504b7d20e9c6464fa4 (patch) | |
tree | 929c1a160dbc050e23c1aa8bd0eca732f83e9d0a /rt/html | |
parent | 22a6987b1625bea840861e2b1d9efa46671f1771 (diff) |
part 1 of #1160: associate users w/customers, manual editing
Diffstat (limited to 'rt/html')
-rw-r--r-- | rt/html/Admin/Users/Modify.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/rt/html/Admin/Users/Modify.html b/rt/html/Admin/Users/Modify.html index d97588c83..be50dca0f 100644 --- a/rt/html/Admin/Users/Modify.html +++ b/rt/html/Admin/Users/Modify.html @@ -105,6 +105,12 @@ </table> </&> <br /> + +<&| /Widgets/TitleBox, title => loc('Customers') &> +<& /Elements/EditCustomers, Object => $UserObj, CustomerString=> $CustomerString, ServiceString => $ServiceString &> +</&> +<br /> + <&| /Widgets/TitleBox, title => loc('Access control') &> <input type="hidden" class="hidden" name="SetEnabled" value="1" /> <input type="checkbox" class="checkbox" name="Enabled" value="1" <%$EnabledChecked%> /> @@ -339,6 +345,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 ) { @@ -430,4 +438,8 @@ $Country => undef $Pass1 => undef $Pass2=> undef $Create=> undef +$OnlySearchForCustomers => undef +$OnlySearchForServices => undef +$CustomerString => undef +$ServiceString => undef </%ARGS> |