@extends('layouts.AdminMaster') @section('content')
| Id Client | Nom | Dates d'envoi | Nombre d'envoi | |||
|---|---|---|---|---|---|---|
| {{$log->first()->user->code}} | {{ $log->first()->user->name.' '.$log->first()->user->prenom}} | {{$log->first()->user->email}} |
@foreach($log as $user)
{{ $user->date }} @endforeach |
{{ count($log) }} | ||
| {{ $day->first()->client->code }} | {{ $day->first()->client->name.' '.$day->first()->client->prenom}} |
@foreach($day as $log)
{{ $log->created_at }} @endforeach |
@foreach($day->unique('ip') as $log)
{{ $log->ip }} @endforeach |
@foreach($day->unique('commandes') as $log)
@if($log->commandes)
@foreach($log->commandes as $commande)
N°: {{ $commande->numero or $commande->id }} Visualiser @endforeach @endif @endforeach |
@php $total_precommandes = 0.00; @endphp @foreach($day as $log) @php $total_precommandes += $log->total_precommandes; @endphp @endforeach {{ number_format($total_precommandes,2) }} {{ $infos->devise }} |