@extends('layouts.default') @section('content') {!! Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName()) !!}
{{Session::get('start', \Carbon\Carbon::now()->startOfMonth())->format('F Y')}}
Budgeted:
Available in {{Session::get('start', \Carbon\Carbon::now()->startOfMonth())->format('F Y')}}: {!! Amount::format($amount) !!}
Spent: {!! Amount::format($spent) !!}
@if($overspent)
@else
@endif
@foreach($budgets as $budget)
@if(isset($budget->currentRep)) {{{$budget->name}}} @else {{{$budget->name}}} @endif

@if($budget->currentRep) @else @endif

@if($budget->currentRep) Budgeted: @if($budget->currentRep->amount > $budget->spent) {{Amount::getCurrencySymbol()}} @else {{Amount::getCurrencySymbol()}} @endif @else No budget @endif

Spent: {!! Amount::format($budget->spent) !!}

@endforeach
Create budget
@if($inactive->count() > 0)
Inactive budgets
@foreach($inactive as $index => $budget) @if($index != count($inactive)-1) {{$budget->name}}, @else {{$budget->name}} @endif @endforeach
@endif
@stop @section('scripts') @stop