@extends('layouts.bo') @section('content')

Commande No : {{$order->id}} - {{$order->created_at->format('d/m/Y')}} : {{$order->time}}

@php ($total = 0)
    @foreach ($order->lines as $line) @if($line->restaurant->id == $restaurant->id)
  • {{$line->qty}} x {{$line->name}} - {{$line->price}}€ @php ($total += $line->price)
      @foreach ($line->components as $component)
    • {{$component->name}}
        @foreach ($component->values as $value)
      • {{$value->name}}
      • @endforeach
    • @endforeach
  • @endif @endforeach
Total: {{$total}}€
@endsection