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

{{ $title }}

Généré le : {{ date('d-m-Y H:i') }}

Synthèse des bons servis

Total bons servis Quantité totale servie Montant total
{{ $bons_servis->count() }} bons {{ number_format($total_quantite, 2) }} L {{ number_format($total_montant, 0, ',', ' ') }} FBU
Répartition par type de carburant
@foreach($total_par_carburant as $type => $data) @endforeach
Type de carburant Quantité Montant
{{ $type }} {{ number_format($data['quantite'], 2) }} L {{ number_format($data['montant'], 0, ',', ' ') }} FBU

Détail des bons servis

@foreach($bons_servis as $bon) @endforeach
N° Bon Date Carburant Véhicule Responsable Quantité (L) Prix unitaire Montant Description
{{ $bon->numero_bon_a_servir }} {{ $bon->initierle }} {{ $bon->type_carburant }} {{ $bon->num_immatriculation ?? 'N/A' }} {{ $bon->responsable_commande }} {{ number_format($bon->quantite_servie, 2) }} {{ number_format($bon->pu, 0, ',', ' ') }} {{ number_format($bon->montant_a_payer, 0, ',', ' ') }} {{ $bon->description }}
@endsection