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

Profile Overview

Hi,

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

@if(Auth::user()->assignment->isEmpty() ) @else Your assignment is {{Auth::user()->assignment->where('status','active')->first()->site->name}} @endif

{{-- View profile --}}
{{--
{{Auth::user()->email}}
{{Auth::user()->phone_number}}
{{Auth::user()->dob}}
--}}
@if (\Session::has('success'))

{!! \Session::get('success') !!}

@endif @if(Auth::user()->assignment->isEmpty() ) You have not been assigned any site @else

Ready to dive in? Scan the QR-Code to Clock In.

@if (\Session::has('error'))

{!! \Session::get('error') !!}

@endif {{-- Scan Code --}}
{{-- End Code --}} @endif
@endsection