@extends('layouts.default') @section('content')
{{{$piggyBank->account->name}}} has a balance of {{mf($piggyBank->account->balance())}}. Of that {{mf($piggyBank->account->balance())}}, you have {{mf(0)}} not yet locked up in other piggy banks. You can add {{mf(max(0,1))}} to this piggy bank.
Field | Value |
---|---|
Type (repeats) | @if($piggyBank->repeats == 1) Repeated expense @else Piggy bank @endif |
Name | {{{$piggyBank->name}}} (#{{$piggyBank->id}}) |
Account | {{{$piggyBank->account->name}}} |
Target amount | {{mf($piggyBank->targetamount)}} |
Start date | @if(is_null($piggyBank->startdate)) No start date @else {{$piggyBank->startdate->format('jS F Y')}} @endif |
Target date | @if(is_null($piggyBank->targetdate)) No target date @else {{$piggyBank->targetdate->format('jS F Y')}} @endif |
Repeats every | @if(!is_null($piggyBank->rep_length)) Every {{$piggyBank->rep_every}} {{$piggyBank->rep_length}}(s) @if(!is_null($piggyBank->rep_times)) ({{$piggyBank->rep_times}} times) @else (indefinitely) @endif @else Does not repeat @endif |
Reminder | @if(is_null($piggyBank->reminder)) (no reminder) @else Every {{$piggyBank->reminder_skip}} {{$piggyBank->reminder}}(s) @endif |
Field | Value |
---|---|
ID | #{{$rep->id}} |
Current amount | {{mf($rep->currentamount)}} |
Start date | @if(is_null($rep->startdate)) No start date @else {{$rep->startdate->format('jS F Y')}} @endif |
Target date | @if(is_null($rep->targetdate)) No target date @else {{$rep->targetdate->format('jS F Y')}} @endif |