@extends('layouts.default') @section('content')
@foreach($summary as $entry) | {{$entry['month']}} | @endforeachSum |
---|---|---|
In | @foreach($summary as $entry){{mf($entry['income'])}} | @endforeach{{mf($inSum)}} | Out | @foreach($summary as $entry){{mf($entry['expense']*-1)}} | @endforeach{{mf($outSum)}} |
Difference | @foreach($summary as $entry){{mf($entry['income']- $entry['expense'])}} | @endforeach{{mf($inSum + $outSum)}} |