@extends('layouts.AdminMaster') @section('content')
| Id Client | Nom | Heure connexion | Ip de connexion | Commandes | Montant precommandés | Options |
|---|---|---|---|---|---|---|
| {{ $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 }} |