@include('global.header-links') @include('partials.sidebar')
@include('partials.header')

Achievements

@if (session()->has('message'))
{{ session()->get('message') }}
@elseif(session()->has('error'))
{{ session()->get('error') }}
@endif
@if ($achievements != null) @foreach ($achievements as $achievement) @if ($achievement['goal_type'] == 'milestone')
image
{{ $achievement->goal_name ?? '--' }}

Goal Type: {{ $achievement->goal_type ?? '--' }}

No.of Workouts: {{ $achievement->number_of_workout ?? '--' }}

{{--

Completion Days: {{ $achievement->completion_days ?? '--' }}

--}} {{--
Pic
Pic
S
--}}
@endif @endforeach @endif
@if ($achievements != null) @foreach ($achievements as $achievement) @if ($achievement['goal_type'] == 'streak')
image
{{ $achievement->goal_name ?? '--' }}

Goal Type : {{ $achievement->goal_type ?? '--' }}

Number of Days in a row : {{ $achievement->number_of_days ?? '--' }}

{{--

Gap Days : {{ $achievement->gap_days ?? '--' }}

--}} {{--
Pic
Pic
S
--}}
@endif @endforeach @endif
@if ($achievements != null) @foreach ($achievements as $achievement) @if ($achievement['goal_type'] == 'activity')
image
{{ $achievement->goal_name ?? '--' }}

Goal Type : {{ $achievement->goal_type ?? '--' }}

UOM : {{ $achievement->unit_of_measurement ?? '--' }}

Steps : {{ $achievement->distance_steps ?? '0' }}

Distance {{ $achievement->distance ?? '0' }}

{{--
Pic
Pic
S
--}}
@endif @endforeach @endif
@include('partials.footer')
@include('global.footer-links')