@extends('layouts.default') @section('content') {{ Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName()) }}

Create new piggy bank

@foreach($piggyBanks as $piggyBank)
@if($piggyBank->leftToSave > 0) @endif
{{Amount::format($piggyBank->savedSoFar,true)}}
percentage == 100) class="progress-bar progress-bar-success" @else class="progress-bar progress-bar-info" @endif role="progressbar" aria-valuenow="{{$piggyBank->percentage}}" aria-valuemin="0" aria-valuemax="100" style="min-width: 40px;width: {{$piggyBank->percentage}}%;"> {{$piggyBank->percentage}}%
{{Amount::format($piggyBank->targetamount,true)}}
@if($piggyBank->leftToSave > 0) {{Amount::format($piggyBank->leftToSave)}} @endif
@endforeach

Create new piggy bank

Account status
@foreach($accounts as $id => $info) @endforeach
Account Balance Left for piggy banks Sum of piggy banks Saved so far Left to save
{{{$info['name']}}} {{Amount::format($info['balance'])}} {{Amount::format($info['leftForPiggyBanks'])}} {{Amount::format($info['sumOfTargets'])}} {{Amount::format($info['sumOfSaved'])}} {{Amount::format($info['leftToSave'])}}
@stop @section('scripts') {{HTML::script('assets/javascript/firefly/piggy_banks.js')}} @stop