Order ID |
Customer Name |
Comments |
Amount |
Payment Mode |
Payment Status |
Order Status |
Order Date |
Order Track |
Action |
@if($orders->count() > 0)
@foreach($orders as $o)
@php if(isset($o->transactionInfo->description)) {
$transaction = json_decode($o->transactionInfo->description);
} else {
$transaction = '';
}
@endphp
{{ $o->order_id }} |
@php if(isset($o->customerInfo->firstname)) { echo $o->customerInfo->firstname.' '.$o->customerInfo->lastname; } @endphp |
{{ $o->comment }} |
₹{{ number_format($o->total, 2) }} |
@php if(!empty($transaction)) { echo $transaction->payment_mode; } @endphp |
@php if(!empty($transaction && ($transaction->payment_status==1))) { echo ''; } @endphp
@php if(!empty($transaction && ($transaction->payment_status==0))) { echo ''; } @endphp
@php if(!empty($transaction && ($transaction->payment_status==2))) { echo ''; } @endphp
|
|
{{ $o->date_added }} |
@php if(!empty($o->orderShipmentInfo)) {
echo ''.$o->orderShipmentInfo->tracking_number.' - ';
} else {
echo 'Preparing for dispatch';
} @endphp |
|
@endforeach
@else
No product found! |
@endif
{!! $orders->render() !!}