Fix bug with lists in dashboard view
MODIFY
resources/views/dashboard/index.blade.php
resources/views/dashboard/index.blade.php
<div class="row spacing-top-large">
<div class="column">
<h2 class="spacing-bottom-medium">Earnings</h2>
- @if ($budgets->count())
+ @if ($earnings->count())
<ul class="box">
@foreach ($earnings as $earning)
<li>
<div class="row">
<div class="column">
- <a href="#">{{ $earning->description }}</a>
+ <a href="/earnings/{{ $earning->id }}">{{ $earning->description }}</a>
<p class="spacing-top-nano">{{ date('jS', strtotime($earning->date)) }}</p>
</div>
<div class="column align-right align-middle">
</div>
<div class="column">
<h2 class="spacing-bottom-medium">Spendings</h2>
- @if ($budgets->count())
+ @if ($spendings->count())
<ul class="box">
@foreach ($spendings as $spending)
<li>

Fix bug with lists in dashboard view