@include('sidebars.settings')
{!!trans('x.Users List')!!}
{{ trans('x.Company Name') }} |
{{ trans('x.Email') }} |
{{ trans('x.Role') }} |
{{ trans('x.Commission') }} |
{{ trans('x.Options') }} |
@foreach($users as $user)
@if ( $user->role() == 'superuser' && Auth::user()->role() !== 'superuser' )
@else
{{ $user->profile->companyname }} |
{{ $user->email }} |
{{ ucfirst( $user->role() ) }} |
{{ $user->percentage() }} % |
@if ( $user->id != Auth::user()->id )
{!! X::confirmModal( '', trans('x.Are you sure you want to unlink the user from your brand?'), '/settings/unlink-user-from-brand/'.$user->id, true, 'POST', 'btn btn-danger btn-rounded btn-condensed btn-xs', null ) !!}
@endif
@if (Auth::user()->hasRole('superuser') && !$user->hasRole('superuser'))
@endif
|
@endif
@endforeach