@extends(@Auth::user()->role=='admin' ? 'layouts.gentella':'layouts.'.env('LAYOUT')) @section('content')
{{ $user->name }} @if($user->role=='writer')
@if(Auth::user()->isAllowedTo('writer_application_info')) id/application_info") }}"> Application Info @endif @if(Auth::user()->isAllowedTo('writer_payments')) id/payments") }}"> Payments @endif @if(!$user->suspended) @if(Auth::user()->isAllowedTo('suspend_writer')) id/suspend") }}"> Suspend User @endif @endif @if(\App\Website::where('designer',1)->count()) @if(!$user->isDesigner()) Allow Designer @else Disable Designer @endif @endif
@endif
Personal Details
...
@if(Auth::user()->isAllowedTo('view_email')) @endif @if(Auth::user()->isAllowedTo('view_phone')) @endif @if($user->role=='client') @endif @if($user->website) @endif @if($user->role=='writer') @endif
ID {{ $user->id }}
Name {{ $user->name }}
E-mail {{ $user->email }}
Send Email
Role {{ ucwords($user->role) }}
Country {{ ucwords($user->country) }}
Phone {{ ucwords($user->phone) }}
Total Orders {{ $user->orders()->count() }}id/orders") }}"> View
Website {{ $user->website->name }}
Status @if($user->status==0) Inactive @elseif($user->suspended)

Suspended

id/activate") }}" class="btn btn-success pull-right btn-xs"> Activate @else Active @endif
Category {{ @$user->writerCategory->name }} Edit
Last Login