@extends('admin.master_layout') @section('title') {{ __('Order Details') }} @endsection @section('body-header')

{{ __('Order Details') }}

{{ __('Manage Orders') }} >> {{ __('All Orders') }}

@endsection @section('body-content')

{{ __('Billed To') }}

{{ __('Name') }}: {{ html_decode($seller->name) }}
{{ __('Phone') }}: {{ html_decode($seller?->phone) }}
{{ __('Email') }}: {{ html_decode($seller?->email) }}
{{ __('Address') }}: {{ html_decode($seller->address) }}
{{ __('Payment Status') }}:
@if ($order->payment_status == \App\Constants\Status::APPROVED)
{{ __('Success') }}
@elseif ($order->payment_status == \App\Constants\Status::REJECTED)
{{ __('Rejected') }}
@else
{{ __('Pending') }}
@endif
{{ __('Invoice No') }}: #{{ $order->order_id }}
{{ __('Created at') }}: {{ $order->created_at->format('d M, Y') }}
{{ __('Gateway') }}: {{ html_decode($order->payment_method) }}
{{ __('Transaction') }}: {!! clean($order->transaction_id) !!}

{{ __('Product List') }}

@foreach ($order->order_detail as $detail) @endforeach
{{ __('SN') }} {{ __('Product Name') }} {{ __('Quantity') }} {{ __('Price') }}
{{ $loop->iteration }} {{ __($detail->singleProduct->translate->name) }} {{ $detail->quantity }} {{ __(currency($detail->price)) }}
@csrf @method('PATCH')
{{ __('Subtotal') }}: {{ currency($order->subtotal) }}
{{ __('Shipping Charge') }}: {{ currency($order->shipping_charge) }}
{{ __('Total') }}: {{ currency($order->total) }}
@endsection @push('js_section') @endpush