@extends('layouts.default') @section('content') {!! Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName(), $piggyBank) !!}
Account | {{{$piggyBank->account->name}}} |
Target amount | {!! Amount::format($piggyBank->targetamount) !!} |
Saved so far | {!! Amount::format($piggyBank->currentRelevantRep()->currentamount) !!} |
Left to save | {!! Amount::format($piggyBank->targetamount-$piggyBank->currentRelevantRep()->currentamount) !!} |
Start date | @if(is_null($piggyBank->startdate)) No start date @endif @if(is_object($piggyBank->startdate)) {{$piggyBank->startdate->format('jS F Y')}} @endif |
Target date | @if(is_null($piggyBank->targetdate)) No target date @endif @if(is_object($piggyBank->targetdate)) {{$piggyBank->targetdate->format('jS F Y')}} @endif |
Reminder | @if(intval($piggyBank->remind_me) == 0) (no reminder) @else Every @if($piggyBank->reminder_skip != 0) {{$piggyBank->reminder_skip}} @endif {{$piggyBank->reminder}}(s) @endif |
Reminders left | (in progress...) |
Expected amount per reminder | (in progress...) |