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

{{ 'Trainer Details' }}

@if($trainer->trashed())
warning Trainer has been deleted
@endif
{{ $trainer->username }}
{{ $trainer->email }}
+{{ $trainer->get_trainer_details->phone_code }} {{ $trainer->get_trainer_details->mobile_number }}
@if ($trainer->get_trainer_details->trainer_type != '') {{ $trainer->get_trainer_details->trainer_type }} @else {{ 'Company' }} @endif
@if ($assosiate != '')
{{ $assosiate }} {{ '(' . $type . ')' }}
@endif
{{ ucfirst($trainer->get_trainer_details->country) }}
{{ $trainer->get_trainer_details->city }}
@if($trainer->het_trainer_details!=null)
{{ $trainer->get_trainer_details->pin_price }}
@endif
@if (empty($trainer->get_trainer_details) || $trainer->get_trainer_details->photo_id_is_approved == 'Pending')
Pending
@elseif($trainer->get_trainer_details->photo_id_is_approved=="Rejected")
Rejected
@else
Success
@endif
@if ($trainer->status == 1)
{{ 'Active' }}
@else
{{ 'Deactive' }}
@endif
{{ date(config('app.date_format_date_time'), strtotime($trainer->get_trainer_details->created_at)) }}
@if ($trainer->role_id != 5) @endif
@if ($trainer->role_id != 5)

{{ 'Association' }}

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