Translate index view for earnings/spendings
MODIFY
resources/views/earnings/index.blade.php
resources/views/earnings/index.blade.php
@section('body')
<div class="wrapper spacing-top-large spacing-bottom-large">
- <div style="color: black; margin-bottom: 20px;">Earnings</div>
+ <div style="color: black; margin-bottom: 20px;">{{ __('general.earnings') }}</div>
<div class="box">
@if (count($earnings))
@foreach ($earnings as $earning)

MODIFY
resources/views/spendings/index.blade.php
resources/views/spendings/index.blade.php
@section('body')
<div class="wrapper spacing-top-large spacing-bottom-large">
- <div style="color: black; margin-bottom: 20px;">Spendings</div>
+ <div style="color: black; margin-bottom: 20px;">{{ __('general.spendings') }}</div>
<div class="box">
@if (count($spendings))
@foreach ($spendings as $spending)

Translate index view for earnings/spendings