@extends('layouts.appadmin') @section('content')

Factures de vente ({{$ventes->count()}})

factures de vente

@foreach($ventes as $vente) @endforeach
Ref facture client date Mode réglement Total TTC Avance Reste statut Action
{{$vente->id}} {{$vente->client->nom}} {{date('d-m-Y', strtotime($vente->created_at))}} {{$vente->modepayement->mode}} {{$vente->prixtotal}} DH {{$vente->avance}} DH {{$vente->rest}} DH {{$vente->encour->etat}}
@csrf
{{ $ventes->links('pagination::bootstrap-4') }}
@endsection