Create partial for displaying currency's symbol
MODIFY
resources/views/dashboard.blade.php
resources/views/dashboard.blade.php
@foreach (Auth::user()->earnings as $earning)
<tr>
<td>{{ $earning->description }}</td>
- <td>{{ Auth::user()->currency->symbol }} {{ $earning->amount }}</td>
+ <td>@include('partials.currency') {{ $earning->amount }}</td>
</tr>
@endforeach
</tbody>
@foreach (Auth::user()->spendings as $spending)
<tr>
<td>{{ $spending->description }}</td>
- <td>{{ Auth::user()->currency->symbol }} {{ $spending->amount }}</td>
+ <td>@include('partials.currency') {{ $spending->amount }}</td>
</tr>
@endforeach
</tbody>

ADD
resources/views/partials/currency.blade.php
+{{ Auth::user()->currency->symbol }}

MODIFY
resources/views/reports/show.blade.php
resources/views/reports/show.blade.php
@foreach (App\Budget::where('user_id', Auth::user()->id)->whereMonth('date', $month)->whereYear('date', $year)->get() as $budget)
<tr>
<td>{{ $budget->tag->name }}</td>
- <td>{{ Auth::user()->currency->symbol }} {{ App\Spending::where('user_id', Auth::user()->id)->whereMonth('date', $month)->whereYear('date', $year)->where('tag_id', $budget->tag->id)->sum('amount') }} of {{ Auth::user()->currency->symbol }} {{ $budget->amount }}</td>
+ <td>@include('partials.currency') {{ App\Spending::where('user_id', Auth::user()->id)->whereMonth('date', $month)->whereYear('date', $year)->where('tag_id', $budget->tag->id)->sum('amount') }} of @include('partials.currency') {{ $budget->amount }}</td>
</tr>
@endforeach
</tbody>

Create partial for displaying currency's symbol