@extends(Auth::user()->level == "Admin"?'layouts.horizontal':'layouts.horizontal-developer') @section('content')

Kelola Pesanan

Semua Pesanan Sosial Media

@if(session('success')) @endif
@foreach($orders as $order) @endforeach
ID Date Poid User Service Target Quantity Start/Remains Price Provider Status Action
{{ $order->id }} {{ date('d F y H:i:s', strtotime($order->created_at)) }} {{ $order->poid }} {{ $order->user->name }} {{ $order->service->name }} {{ $order->target }} {{ $order->quantity }} {{ $order->start_count.'/'.$order->remains }} {{ config('web_config')['CURRENCY_CODE'] }} {{ $order->price }} {{ $order->service->provider->name }} {{ $order->status }} @if(Auth::user()->level == 'Admin') @else @endif
{{$orders->links()}}
@endsection