@extends('layout.master') @section('css') @stop @section('content')

{{ 'PIN Report Details' }}

{{ $user->username }}
{{ $user->email }}
@if ($user->role_id == 2) {{ '+' . $user->get_doctor_details->phone_code ?? '' }} {{ $user->get_doctor_details->mobile_number ?? '' }} @elseif($user->role_id==3) {{ '+' . $user->get_trainer_details->phone_code ?? '' }} {{ $user->get_trainer_details->mobile_number ?? '' }} @elseif($user->role_id==4) {{ '+' . $user->getFrenchiseCategory->phone_code ?? '' }} {{ $user->getFrenchiseCategory->mobile_number ?? '' }} @else {{ '+' . $user->get_patient_details->phone_code ?? '' }} {{ $user->get_patient_details->mobile_number ?? '' }} @endif
@if ($user->role_id == 1) {{ '- - -' }} @elseif($user->role_id==2) {{ $user->get_doctor_details->country ?? '' }} @elseif($user->role_id==3) {{ $user->get_trainer_details->country ?? '' }} @elseif($user->role_id==4) {{ $user->getFrenchiseCategory->country ?? '' }} @else {{ $user->get_patient_details->country ?? '' }} @endif
@if ($user->role_id == 2) {{ 'Doctor' }} @elseif($user->role_id==3) {{ 'Trainer' }} @elseif($user->role_id==4) {{ 'Frenchise' }} @else {{ 'Patient' }} @endif
@if (Storage::disk('s3')->has('users/' . $user->id . '/profile_picture/' . $user->profile_picture) && !empty($user->profile_picture)) @else @endif

{{ 'Association' }}

Name Email Mobile Number Used PINs Number of Associations Role #Associations id
@stop @section('script') @stop