@extends('layouts.main') @section('content')
Transaction type | Récettes | Dépenses | Date Transaction | @php $totalcredit=0; $totaldebit=0; @endphp @foreach ($fondscaisse_ligne as $fcl ) @php $totalcredit= $totalcredit + $fcl->fcl_credit; $totaldebit= $totaldebit + $fcl->fcl_debit; @endphp |
---|---|---|---|---|
{{ $fcl->fcl_libelle }} | {{ $fcl->fcl_debit }} | {{ $fcl->fcl_credit }} | {{ $fcl->fcl_datetimecrea }} | |
{{ $totaldebit }} | {{ $totalcredit }} |
{{count($fondscaisse_ligne)}} Transaction(s)
{{ $fc->fc_montantouvert }}
Solde ouverture
{{ ($totaldebit - $totalcredit) + $fc->fc_montantouvert }}
Solde actuel