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

User Details

@if(session()->has('message'))
{{ session()->get('message') }}
@elseif(session()->has('error'))
{{ session()->get('error') }}
@endif
{{$user->name}}
{{$user->physique->weight}}lbs
Initial Weight
{{$user->physique->weight_now}}lbs
Current Weight
{{-- down success --}} {{-- --}} {{-- down danger --}} {{-- --}} {{-- upper success --}} {{-- --}} {{-- upper danger --}} {{-- --}} @if( $user->physique->id_goals == 1 || $user->physique->id_goals == 3 ) @if( ($user->physique->weight - $user->physique->weight_now) > 0 ) @else @endif @elseif( $user->physique->id_goals == 2 ) @if( ($user->physique->weight - $user->physique->weight_now) > 0 ) @else @endif @endif
{{ ($user->physique->weight - $user->physique->weight_now) > 0 ? ($user->physique->weight - $user->physique->weight_now) : ($user->physique->weight - $user->physique->weight_now)*(-1) }}lbs
Change in Weight
@yield('content')
@include('partials.footer')
@include('global.footer-links')