@extends('both.template') @section('title', 'FACTURES | OPTIMIA') @section('styleSheets') @endsection @section('content')
@php $colors = [ 'Envoyée' => 'info', 'En attente' => 'purple', 'Payée' => 'success', 'Impayée' => 'danger', 'Partielle' => 'warning' ]; $i = 1; @endphp @foreach($invoices as $invoice) @php $i++; @endphp @endforeach
# Code Facture Client Création Date d'échéance Montant Status Action
{{ $i }} {{ $invoice->invoiceCode }} {{ $invoice->clientFullName }} {{ date('d M Y', strtotime($invoice->createdAt )) }} {{ App\Utils\Utils::getDBDateFormat($invoice->invoiceDueDate, true) }} {{ $invoice->invoiceStateName }}
@endsection @section('scriptsSheets') @endsection