@extends('layouts.app') @section('content')

{{ $user->name }}


{{ __('Profile') }}

{{ __('Status: ') }} {{ $user->status === 1 ? 'Active' : 'Inactive' }}

{{ __('Email: ' . $user->email) }}

{{ __('Phone: ' . $user->profile->phone) }}

{{ __('Address: ' . $user->profile->address) }}

{{ __('Zip code: ' . $user->profile->zip) }}

{{ __('Country: ' . $user->profile->country) }}

{{ __('Professional profile') }}

{{ __('Salary: ' . auth()->user()->currency . $user->profile->salary) }}

{{ __('role: ' . $user->roles->first()->name) }}

{{ __('Salary history') }}

@foreach($user->salaries as $salary) @endforeach
{{ __('Amount') }} {{ __('From') }} {{ __('To') }}
{{ auth()->user()->currency . $salary->amount }} {{ $salary->start }} {{ $salary->end }}
@endsection @section('scripts') @endsection