@extends(@Auth::user()->role=='admin' ? 'layouts.gentella':'layouts.'.env('LAYOUT')) @section('content')
New Orders Add New
@foreach($orders as $order)
Subject: {{ $order->subject->label }}
Pages: {{ $order->pages }}
Placed: {{ date('d M Y, h:i a',strtotime($order->created_at)) }}
Amount: {{ number_format($order->amount,2) }}
Bids: {{ count($order->bids()->get()) }}
Paid: @if($order->paid) @else @endif
@endforeach {{ $orders->links() }}
Order ID Topic Subject Pages Amount Paid Bids On Action
{{ $order->id }} {{ $order->topic }} {{ $order->subject->label }} {{ $order->pages }} {{ number_format($order->amount,2) }} @if($order->paid) @else @endif {{ count($order->bids()->get()) }} {{ date('d M Y, h:i a',strtotime($order->created_at)) }} View
@endsection