@extends('front.template') @section('main')

Stats


Prévisionnel

Gain previsonnel : {{ $gainPrevision }}

Dépense previsionnel : {{ $debitPrevision }}

Total : {{ $totalPrevision }}

Total

Nb de transaction : {{ $nbTransactions }}

Gain : {{ $credit }}

Dépense : {{ $debit }}

Total : {{ $total }}

Différence

Gain : {{ $gainDiff }}

Dépense : {{ $debitDiff }}

Total : {{ $totalDiff }}

Dépense par catégorie

@foreach ($depenseCategorie as $depense)

{{ $depense->nom }} : {{ $depense->total }}

@endforeach

Gain par catégorie

@foreach ($gainCategorie as $gain)

{{ $gain->nom }} : {{ $gain->total }}

@endforeach
@stop