@extends('layouts.master') @section('content')
Aff ID | First Name | Last Name | Cell Phone | Username | Status | Referrer User Name | Timestamp | Actions | @if (request('role',3) == 2) | @endif | |
---|---|---|---|---|---|---|---|---|---|---|---|
{{$user->idrep}} | {{$user->first_name}} | {{$user->last_name}} | {{$user->cell_phone}} | {{$user->user_name}} | {{$user->status}} | {{$user->referrer->user_name}} | {{\Carbon\Carbon::parse($user->rep_timestamp)->diffForHumans()}} | @if(\LeadMax\TrackYourStats\System\Session::permissions()->can(\LeadMax\TrackYourStats\User\Permissions::EDIT_AFFILIATES))Edit | @endif @if(\LeadMax\TrackYourStats\System\Session::permissions()->can(\LeadMax\TrackYourStats\User\Permissions::CREATE_AFFILIATES))Login | @endif @if(request('role',3) == 2 && \LeadMax\TrackYourStats\System\Session::permissions()->can(\LeadMax\TrackYourStats\User\Permissions::CREATE_MANAGERS))View Affiliates | @endif @if(\LeadMax\TrackYourStats\System\Session::permissions()->can(\LeadMax\TrackYourStats\User\Permissions::BAN_USERS))Ban User | @endif