@extends('layouts.admin') @section('content')
Orders
@if(count($orders) > 0) @foreach ($orders as $sp) @endforeach @else @endif
S/N User Email Order No Payment Ref Payment Method Amount Payment Status Channel Completion Status Created At       
{{$sp->id}} {{substr($sp->user->email,0,15)}}.. {{$sp->order_no}} {{$sp->payment_ref??"-"}} Card {{moneyFormat($sp->payable,2)}} @if($sp->is_paid == 1) Paid @else Pending @endif {{$sp->channel}} @if($sp->is_delivered == 1) Initiated @elseif($sp->is_delivered == 2) Dispatched @elseif($sp->is_delivered == 3) Cancelled @else Pending @endif {{$sp->created_at->format('d/M/y')}}
No data available
@endsection