@extends('layouts.base') @section('title', 'Commande') @section('actions') Nouvelle commande @endsection @section('content')
{{--

@yield('title')

--}} {{--
Export data to Copy, CSV, Excel, PDF & Print
--}}
@foreach($header as $key => $head) @endforeach @foreach($header as $key => $head) @endforeach @foreach($orders as $order) @endforeach
{{ ucfirst(__($head)) }}
{{ ucfirst(__($head)) }}
{{$order->order_at->format('d/m/Y')}} {{$order->customer->name}} {{$order->code}} {{$order->products->count()}} {{$order->site->name}} @if($order->status == "PROGRESS") EN VALIDATION @elseif($order->status == "VALIDATED") EN PRODUCTION @elseif($order->status == "REJECTED") REJETEE @elseif($order->status == "FINISH") TERMINE @endif
@endsection @section('javascripts') @endsection