@php $company = \App\Models\Company::all()->last() @endphp
{{ $company->address }}
@php $phones = collect(); $company->phone1 ? $phones->push($company->phone1) : ''; $company->phone2 ? $phones->push($company->phone2) : ''; $company->phone3 ? $phones->push($company->phone3) : ''; $company->phone4 ? $phones->push($company->phone4) : ''; @endphp
Tél : {{ $phones->join(', ') }}
E-mail: {{ $company->email1 ?? '' }}

Beauty Care & Fashion


Rapport des Commandes par Client


Du {{ \Carbon\Carbon::create($reportDate['from'])->isoFormat('ll') }} Au {{ \Carbon\Carbon::create($reportDate['to'])->isoFormat('ll') }}

@foreach ($orders as $customer) @foreach ($customer as $order) @endforeach
Client Date Paiement Statut Livraison Montant Pays
{{ ($order->customer) ? $order->customer->first_name.' '.$order->customer->last_name : "" }}
{{ \Carbon\Carbon::create($order->created_at)->isoFormat('ll') }}
{{ $order->paymentMethod->method }}
{{ $order->status }}
{{ $order->status }}
{{ number_format($order->total_amount, 0, ',', ' ') }} FCFA
{{ $order->country }}

Total Attendu : {{ number_format($customer->sum('total_amount'), 0, ',', ' ') }} FCFA

@endforeach

Liste générée le {{ \Carbon\Carbon::now()->isoFormat('lll') }}