@php use App\Models\Invoice; @endphp @extends('layouts.app') @section('title', 'Factures - ' . $customer->name) @section('content')

Factures de {{ $customer->name }}

Retour à la liste
@php $seen = []; @endphp @foreach($invoices as $invoice) @php $key = $invoice->numero_invoice . '_' . $invoice->po; @endphp @if(!in_array($key, $seen)) @php $seen[] = $key; @endphp
  • Facture N° {{ $invoice->numero_invoice ?? 'N/A' }} {{ \Carbon\Carbon::parse($invoice->created_at)->format('d/m/Y') }}
    PO : {{ $invoice->po ?? 'N/A' }} Description : {{ $invoice->description }} Total (mois) : {{ number_format($invoice->pt_mois, 2, ',', ' ') }}
  • @endif @endforeach
    @endsection