@extends('layouts.master') @section('content')
View Affiliate Records
@include('report.options.user-type') @include('report.options.active')
@if (request('role',3) == 2) @endif @foreach($users as $user) @if(\LeadMax\TrackYourStats\System\Session::permissions()->can(\LeadMax\TrackYourStats\User\Permissions::EDIT_AFFILIATES)) @endif @if(\LeadMax\TrackYourStats\System\Session::permissions()->can(\LeadMax\TrackYourStats\User\Permissions::CREATE_AFFILIATES)) @endif @if(request('role',3) == 2 && \LeadMax\TrackYourStats\System\Session::permissions()->can(\LeadMax\TrackYourStats\User\Permissions::CREATE_MANAGERS)) @endif @if(\LeadMax\TrackYourStats\System\Session::permissions()->can(\LeadMax\TrackYourStats\User\Permissions::BAN_USERS)) @endif @endforeach
Aff ID First Name Last Name Cell Phone Username Status Referrer User Name Timestamp Actions
{{$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()}} Edit Login View Affiliates Ban User
@endsection @section('footer') @endsection