@extends('admin.layout') @section('style') @endsection @section('content') @if(count($orders) > 0)

Completed Orders

{{ $completed_orders ? $completed_orders : 0 }}

{{-- --}}

Earning

{{ $be->base_currency_symbol_position == 'left' ? $be->base_currency_symbol :'' }} {{ $earning ? $earning : 0}} {{ $be->base_currency_symbol_position == 'right' ? $be->base_currency_symbol :'' }}

@endif

Filter Order

@if(count($orders) > 0)
@endif
@if (count($orders) == 0)

NO ORDER FOUND

@else
@foreach ($orders as $key => $order) @endforeach
Order Number Customer Name Customer Phone Discount Tax Shipping Charge Total Serving Method Payment Status Completed Gateway Time
{{ $order->order_number }} {{ convertUtf8($order->billing_fname) }} {{ $order->billing_country_code }}{{ $order->billing_number }} {{ $order->currency_symbol_position == 'left' ? $order->currency_symbol : '' }} {{ $order->coupon }} {{ $order->currency_symbol_position == 'right' ? $order->currency_symbol : '' }} {{ $order->currency_symbol_position == 'left' ? $order->currency_symbol : '' }}{{ $order->tax }}{{ $order->currency_symbol_position == 'right' ? $order->currency_symbol : '' }} @if (!empty($order->shipping_charge)) {{ $order->currency_symbol_position == 'left' ? $order->currency_symbol : '' }}{{ $order->shipping_charge }}{{ $order->currency_symbol_position == 'right' ? $order->currency_symbol : '' }} @else {{ $order->currency_symbol_position == 'left' ? $order->currency_symbol : '' }} 0 {{ $order->currency_symbol_position == 'right' ? $order->currency_symbol : '' }} @endif {{ $order->currency_symbol_position == 'left' ? $order->currency_symbol : '' }}{{ $order->total }}{{ $order->currency_symbol_position == 'right' ? $order->currency_symbol : '' }} {{ str_replace('_', ' ', $order->serving_method) }} {{ str_replace('_', ' ', $order->payment_status) }} {{ str_replace('_', ' ', $order->order_status) }} {{ str_replace('_', ' ', $order->completed) }} {{ str_replace('_', ' ', $order->method) }} {{ Carbon\carbon::parse($order->created_at)->format('m-d-y') }}
@endif
@endsection @section('scripts') @endsection