@extends('layouts.backend.app') @section('content')
@foreach($orders as $post) @php $order_data=json_decode($post->oder_data); @endphp @endforeach
{{ __('Order ID') }} {{ __('Order Status') }} {{ __('Order Method') }} {{ __('Amount') }} {{ __('Order Created') }} {{ __('Action') }}
#{{ $post->id }}
@if(isset($order_data->receipt_url)) Payment Receipt @endif {{ __('Invoice') }}

{{ $post->order_status }}

{{ $post->order_method }} {{ $post->amount }}
{{ $post->updated_at->diffForHumans() }}
{{ $post->updated_at->format('d-F-Y') }}
@if($post->order_status !== 'Completed') @endif
{{ __('Order ID') }} {{ __('Order Status') }} {{ __('Order Method') }} {{ __('Amount') }} {{ __('Order Created') }} {{ __('Action') }}
{{ $orders->links() }}
@csrf
@endsection @section('script') @endsection