@extends('layouts.app') @section('title') My Orders | Sanlive Pharmarcy @endsection @section('head') @endsection @section('content') @section('styles') @endsection
@include('includes.accountSidebar')
Open Orders
@forelse($orders as $order)

{{$order->product_name}}
Order: {{$order->Order_no}}
Channel: {{$order->channel}}
{{moneyFormat($order->payable,2)}}
@if($order->dispatch_status == 1) delivered @elseif($order->dispatch_status == 0) Awaiting Confirmation @elseif($order->dispatch_status == -1) Cancelled @elseif($order->dispatch_status == 2) Shipped @endif
@if($order->is_paid == 1) Paid @else Not Paid @endif

@empty

You don't have any order yet
Start Shopping

@endforelse
{{$orders->links()}}
@endsection @section('script') @endsection