@extends('layouts.app') @section('title', 'My Profile') @section('content')
{{ auth()->user()->profile->employee_id ?? '' }}
{{ auth()->user()->status->name }}| First Name: | {{ auth()->user()->first_name }} |
| Last Name: | {{ auth()->user()->last_name }} |
| Email: | {{ auth()->user()->email }} |
| Phone: | {{ auth()->user()->profile->phone ?? 'N/A' }} |
| Join Date: | {{ auth()->user()->profile->join_date?->format('M d, Y') ?? 'N/A' }} |
| Department: | {{ auth()->user()->departments->pluck('name')->join(', ') }} |
| Designation: | {{ auth()->user()->designations->pluck('name')->join(', ') }} |
| Working Shift: | {{ auth()->user()->currentWorkingShift()->first()?->name ?? 'N/A' }} |
| Current Status: | @if(auth()->user()->is_punched_in) Punched In @else Punched Out @endif |
{{ auth()->user()->profile->address ?? 'N/A' }}