@extends('layouts.default') @section('content')

Firefly Piggy banks, large expenses and repeated expenses

Save money for large expenses

Saving money is hard. Firefly's piggy banks can help you to save money. Simply set the amount of money you want to save, set an optional target date and whether or not Firefly should remind you to add money to the piggy bank.

Create new piggy bank

Save money for repeated expenses

Taxes are due every year. Or maybe you want to save up for your yearly fireworks-binge. Buy a new smart phone every three years. Firefly can help you organize these repeated expenses.

Create new repeated expense

Current piggy banks

@if($countNonRepeating == 0)

No piggy banks found.

@else @foreach($piggybanks as $piggyBank) @if($piggyBank->repeats == 0) @endif @endforeach

{{{$piggyBank->name}}}

Saving up to {{mf($piggyBank->targetamount)}}. Currently saved {{mf($piggyBank->currentRelevantRep()->currentamount)}}. @if(!is_null($piggyBank->startdate)) Start date: {{$piggyBank->currentRelevantRep()->startdate->format('d M Y')}}. @endif @if(!is_null($piggyBank->targetdate)) Target date: {{$piggyBank->currentRelevantRep()->targetdate->format('d M Y')}}. @endif @if(!is_null($piggyBank->reminder)) Next reminder: {{$piggyBank->nextReminderDate()->format('d M Y')}} @endif

@if($piggyBank->leftInAccount > 0) Add money @endif @if($piggyBank->currentRelevantRep()->currentamount > 0) Remove money @endif
@endif

Current repeated expenses

@if($countRepeating == 0)

No repeated expenses found.

@else @foreach($piggybanks as $repeated) @if($repeated->repeats == 1) @endif @endforeach

{{{$repeated->name}}}

Saving up to {{mf($repeated->targetamount)}}. Currently saved {{mf($piggyBank->currentRelevantRep()->currentamount)}}. @if(!is_null($piggyBank->startdate)) Start date: {{$piggyBank->currentRelevantRep()->startdate->format('d M Y')}}. @endif @if(!is_null($piggyBank->targetdate)) Target date: {{$piggyBank->currentRelevantRep()->targetdate->format('d M Y')}}. @endif @if(!is_null($piggyBank->reminder)) Next reminder: {{$piggyBank->nextReminderDate()->format('d M Y')}} @endif

@if($piggyBank->leftInAccount > 0) Add money @endif @if($piggyBank->currentRelevantRep()->currentamount > 0) Remove money @endif
@endif
@stop @section('scripts') @stop