@extends('layouts.default') @section('content') {{ Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName(), $repeatedExpense) }}
@foreach($repetitions as $rep) bars->count()) == 0 ? 1 : floor(12 / $rep->bars->count()); ?>
Repetition from {{$rep->startdate->format('j F Y')}} to {{$rep->targetdate->format('j F Y')}}

Target amount: {{mf($repeatedExpense->targetamount)}}. Currently saved: {{mf($rep->currentamount)}}.

@foreach($rep->bars as $bar)
@if($bar->percentage() > 50 && $bar->percentage() == 100) @if($bar->hasReminder() && $bar->getReminder()->active == 1) @endif @if($bar->hasReminder() && $bar->getReminder()->active == 0 && $bar->getReminder()->notnow == 0) @endif @if($bar->hasReminder() && $bar->getReminder()->active == 0 && $bar->getReminder()->notnow == 1) @endif @endif @if($bar->percentage() > 50 && $bar->percentage() < 100) {{mf($rep->currentamount,false)}} @endif

{{$bar->getStartDate()->format('j F Y')}} — {{$bar->getTargetDate()->format('j F Y')}}

@endforeach
@endforeach
@stop