@extends('layouts.app') @section('content')
{{ __('Income report') }}

{{ $start . ' to ' . $end }}

@foreach($reports as $income) @endforeach
{{ __('Date') }} {{ __('Type') }} {{ __('Amount') }}
{{ date('Y-m-d', strtotime($income->date)) }} {{ $income->income_type }} {{ auth()->user()->currency . $income->amount }}
{{ __('Total') }} {{ auth()->user()->currency . $reports->sum('amount') }}
@endsection