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

Firefly Budgets and envelopes

Use budgets to organize and limit your expenses.

Budgets are groups of expenses that reappear every [period]*. Examples could be "groceries", "bills" or "drinks with friends". The table below lists all of the budgets you have, if any. By definition, budgets are an estimated amount of money, ie. € 400,-. Such an estimation can change over time but should always be set. Budgets without an actual budget are fairly pointless.

Use this page to create or change budgets and the estimated amount of money you think is wise. Pages further ahead will explain what an "envelope" is in the context of budgeting.

* Every month, week, year, etc.

@foreach($budgets as $budget) @endforeach
Budget Current envelope(s) Update budget
{{{$budget->name}}}
Envelope
Left
@foreach($budget->limits as $limit) @foreach($limit->limitrepetitions as $index => $rep)
{{mf($rep->amount,false)}}
@if($rep->left < 0) {{mf($rep->left,false)}} @else {{mf($rep->left,false)}} @endif
@if($limit->repeats == 1)
auto repeats
@endif
@if($limit->repeats == 0 || ($limit->repeats == 1 && $index == 0)) @endif
@endforeach @endforeach

Add another envelope

@stop