@extends('layouts.main') @section('content')
@include('modules.finances.menu')
@if($fc)

Petite de caisse {{ $fc->fc_journee }}

{{ csrf_field() }}
Décaissement

@php $totalcredit=0; $totaldebit=0; @endphp @foreach ($fondscaisse_ligne as $fcl ) @php $totalcredit= $totalcredit + $fcl->fcl_credit; $totaldebit= $totaldebit + $fcl->fcl_debit; @endphp @endforeach
Transaction type Récettes Dépenses Date Transaction
{{ $fcl->fcl_libelle }} {{ $fcl->fcl_debit }} {{ $fcl->fcl_credit }} {{ $fcl->fcl_datetimecrea }}
{{ $totaldebit }} {{ $totalcredit }}

{{count($fondscaisse_ligne)}} Transaction(s)

Chargement

{{ $fc->fc_montantouvert }}
Solde ouverture

{{ ($totaldebit - $totalcredit) + $fc->fc_montantouvert }}
Solde actuel



@else
{{ csrf_field() }}
@endif
@endsection