@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
Update Achievements Goals
@csrf @if ($achievement->goal_type === 'milestone') {{-- image Start --}}
Avatar
Allowed file types: png, jpg, jpeg.
{{-- image End --}} {{-- Goal Name Start --}}
Goal name
{{-- Goal Name End --}} {{-- Number Of Workouts Start --}}
Number of Workout
{{-- Number Of Workouts End --}}
Goal description
{{ $achievement->description }}
{{-- Number of days Input Start --}} {{-- @if ($achievement->number_of_days != null)
Number of Days
@endif --}} {{-- Number of days Input End --}} {{-- Associated with category/level Input Start --}} {{--
@if ($achievement->category != null)
Associated with category/level
category == 'upper body' ? 'selected' : '' }}> Upper Body
category == 'lower body' ? 'selected' : '' }}> Lower Body
category == 'cardio' ? 'selected' : '' }}> Cardio
@endif @if ($achievement->level != null)
Level
level == 'beginner' ? 'selected' : '' }}> Beginner
level == 'intermediate' ? 'selected' : '' }}> Intermediate
level == 'advance' ? 'selected' : '' }}> Advance
@endif
--}} {{-- Associated with category/level Input End --}} @elseif ($achievement->goal_type === 'streak') {{-- image Start --}}
Avatar
Allowed file types: png, jpg, jpeg.
{{-- image End --}} {{-- Goal Name Start --}}
Goal name
{{-- Goal Name End --}} {{-- Number of Days in a row Start --}}
Number of Days in a row
Goal description
{{ $achievement->description }}
{{-- Number of Days in a row End --}} {{-- @if ($achievement->gap_days != null)
Gap Days
@endif --}} @elseif ($achievement->goal_type === 'activity') {{-- image Start --}}
Avatar
Allowed file types: png, jpg, jpeg.
{{-- image End --}} {{-- Goal Name Start --}}
Goal name
{{-- Goal Name End --}}
Goal description
{{ $achievement->description }}
{{-- UOM Start --}} {{--
UOM
Distance
Steps
Distance / Steps
--}} {{-- UOM End --}}
UOM
Distance
Steps
Steps
Distance
@endif
Update
@include('partials.footer')
@include('global.footer-links')