X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fhtml%2FAdmin%2FUsers%2FModify.html;h=be50dca0fb61d7e9acb1ce2da387635b523d6d73;hb=fa741a3f4e5e281d81f62b504b7d20e9c6464fa4;hp=d97588c83e9ae2db310db0b6468a9cd3cda536ff;hpb=22a6987b1625bea840861e2b1d9efa46671f1771;p=freeside.git 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 @@
+ +<&| /Widgets/TitleBox, title => loc('Customers') &> +<& /Elements/EditCustomers, Object => $UserObj, CustomerString=> $CustomerString, ServiceString => $ServiceString &> + +
+ <&| /Widgets/TitleBox, title => loc('Access control') &> /> @@ -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