@extends('layouts.profile') @section('title') Calories Calculator | Fitoverfat @endsection @section('page_name') Calories Calculator @endsection @section('content')
{{csrf_field()}} @if($today_calories > 0)

Proteins {{$calt}} / {{$today_calories}}

@else

Carbs & Fats {{$calt}} / ?

@endif
@if($all_tt->count() > 0) @foreach ($all_tt->where('type', 1) as $tt) @if($tt->food_info->approve == 1) @endif @endforeach @endif
gms Quality Calories
{{$tt->food_info->food_qty->unit}} {{$tt->calorie}}
Other Proteins
@foreach ($all_tt->where('type', 1) as $tt) @if($tt->food_info->approve == 0)


@endif @endforeach

{{csrf_field()}} @if($today_cho_calories > 0)

Carbs & Fats {{$calt_cho}} / {{$today_cho_calories}}

@else

Carbs & Fats {{$calt_cho}} / ?

@endif
@if($all_tt->count() > 0) @foreach ($all_tt->where('type', 2) as $tt) @if($tt->food_info->approve == 1) @endif @endforeach @endif
gms Quality Calories
{{$tt->food_info->food_qty->unit}} {{$tt->calorie}}
Other Carbs & Fats
@foreach ($all_tt->where('type', 2) as $tt) @if($tt->food_info->approve == 0)


@endif @endforeach
@endsection @section('scripts') @endsection