@extends('admin.layout') @section('content')
@if (count($orders) == 0)

{{ __('NO ORDER FOUND') . '!' }}

@else
@foreach ($orders as $order) @php $symbol = $order->currency_symbol; $symbol_positon = $order->currency_symbol_position; @endphp @includeIf('admin.shop.order.show-receipt') @endforeach
{{ __('Order No.') }} {{ __('Paid via') }} {{ __('Payment Status') }} {{ __('Total Amount') }} {{ __('Order Status') }} {{ __('Receipt') }} {{ __('Actions') }}
{{ '#' . $order->order_number }} {{ $order->payment_method }} @if ($order->gateway_type == 'online')

{{ __('Completed') }}

@else @if ($order->payment_status == 'pending')
@csrf
@else

{{ ucfirst($order->payment_status) }}

@endif @endif
{{ $symbol_positon == 'left' ? $symbol . ' ' : '' }} {{ number_format($order->grand_total, 2, '.', ',') }} {{ $symbol_positon == 'right' ? ' ' . $symbol : '' }}
@csrf
@if (!empty($order->attachment)) {{ __('Show') }} @else - @endif
@endif
@endsection