@extends('layouts.app') @section('content')
My Profile
@if (!empty(Auth::user()->photo) && file_exists(public_path('uploads/photo/' . Auth::user()->photo))) User Photo @else Default Photo @endif

Employee Name: {{ Auth::user()->name }}

HQ Name: {{ Auth::user()->hq_name }}

@if (Auth::user()->photo_status != 'Approved') @endif
@if (Auth::user()->photo_status == 'Approved') Approved @elseif (Auth::user()->photo_status == 'Rejected') Rejected @else Pending @endif

Download Video

@foreach ($poster as $posters) @endforeach
Product Name Download Expiry
{{ $posters->postername ?? 'N/A' }} @if ($posters->video_name) @else @endif {{ $posters->exp_date ? \Carbon\Carbon::parse($posters->exp_date)->format('d F Y') : 'No Expiry' }}
{{-- --}} {{-- --}} @endsection