@extends('layouts.default') @section('content')
No piggy banks found.
@else @foreach($piggybanks as $piggyBank) @if($piggyBank->repeats == 0){{mf($piggyBank->currentRelevantRep()->currentamount)}} |
|
{{mf($piggyBank->targetamount)}} | |
@if($accounts[$piggyBank->account_id]['account']->leftOnAccount > 0)
Add money
@endif
@if($piggyBank->currentRelevantRep()->currentamount > 0)
Remove money
@endif
|
@if(!is_null($piggyBank->targetdate))
Target date: {{$piggyBank->targetdate->format('M jS, Y')}} |
No repeated expenses found.
@else @foreach($piggybanks as $repeated) @if($repeated->repeats == 1){{mf($repeated->currentRelevantRep()->currentamount)}} |
|
{{mf($repeated->targetamount)}} | |
@if($accounts[$repeated->account_id]['account']->leftOnAccount > 0)
Add money
@endif
@if($repeated->currentRelevantRep()->currentamount > 0)
Remove money
@endif
|
@if(!is_null($repeated->reminder)) Next reminder: {{$repeated->nextReminderDate()->format('M jS, Y')}} ({{$piggyBank->reminder}}) @endif |
Account | Left for piggy banks |
---|---|
{{{$account['account']->name}}} | {{mf($account['left'])}} |