@extends('layouts.app') @section('content')
Livre de caisse
@foreach ($livres as $livre) @endforeach
Date Caisse Nom et prénoms Solde début Encaissement Décaissement Solde Final
{{(new DateTime($livre->date_oper))->format(config('myahs.date_format'))}} {{$livre->caisse_id}} {{substr($livre->nom_employe. ' '.$livre->prenom_employe,0,30)}} {{number_format($livre->solde_before,2,',',' ')}} {{number_format($livre->debit,2,',',' ')}} {{number_format($livre->credit,2,',',' ')}} {{number_format(($livre->solde_before+$livre->debit-$livre->credit),2,',',' ')}}
@endsection @section('script') @endsection