@php $org = \App\Models\Admin\Organisation::first(); $imageUrl = $org ? URL::to('storage/' . $org->image) . '?timestamp=' . now()->timestamp : null; // Set to null if no org @endphp @if($imageUrl) Organization Logo @endif
@php( $org = \App\Models\Admin\Organisation::first() ) @if(isset($org->organisation)){{$org->organisation}}@endif
Development Logics
  • Notifications
    @if(count($itms) == 0) No @endif Notifications
    @if(count($itms) > 0)
    • @if(Auth::user()->profile_pic) @elseif(!empty(Auth::user()->userdetail)) @if (Auth::user()->userdetail->gender == 'Male') @else @endif @else @endif
    View All Notifications
    @endif
    @guest @if (Route::has('register')) @endif @else
  • {{ Auth::user()->name }}
    {{ __('Edit Profile') }} @if(Auth::user()->name != 'admin') {{ __('My Profile') }} @endif {{ __('Logout') }}
    @csrf
  • @endguest