@extends('admin.layouts.app') @section('main_content')

{{translate($title)}}

{{translate('Order List')}}
@if(request()->routeIs('admin.digital.order.product.seller')) @endif @forelse($orders as $order) @if(request()->routeIs('admin.digital.order.product.seller')) @endif @empty @endforelse
{{translate( "Time" )}} {{translate('Order Number')}} {{translate('Seller')}}{{translate('Customer')}} {{translate('Status')}} {{translate('Amount')}} {{translate('Details')}}
{{diff_for_humans($order->created_at)}}
{{get_date_time($order->created_at)}}
{{$order->order_id}} {{translate($order->digitalProductOrder->product->seller->username)}} {{$order->customer ? $order->customer->name :@$order->billing_information->email}} @if($order->customer ) ({{($order->customer->email)}}) @endif @if($order->payment_status == App\Models\Order::UNPAID) {{translate('Unpaid')}} @elseif($order->payment_status == App\Models\Order::PAID) {{translate('Paid')}} @endif {{short_amount($order->amount)}}
@include('admin.partials.not_found')
{{$orders->appends(request()->all())->links()}}
@endsection