@extends('web.layouts.layout') @section('content')
{{ __('orders::orders.order_stages') }}
{{-- @if($sliders4?->count()) @foreach($sliders4 as $slider)
{{ $slider->title ??
{{ $slider->title ?? "" }}
@if (!$loop->last)
@endif @endforeach @endif --}} @foreach(getOrderStatusIds() as $orderStatusNumber)
Order Status {{ $orderStatusNumber }}
{{ (getOrderStatusByKey('canceled') == $orderStatusNumber) ? __('orders::orders.order_cancelled') : __('general.order_status_' . $orderStatusNumber) }}
@if (!($loop->last || $loop->iteration == $loop->count - 1))
@endif @endforeach
@if($order->seller_id != auth()->id())
{{ __('orders::orders.seller_data') }}
{{ $order->seller->name ?? $order->seller->username ?? "" }}
{{ __('orders::orders.contact_seller') }}
@endif @if($order->broker)
{{ __('orders::orders.broker_data') }}
{{ $order->broker->name ?? $order->broker->username ?? "" }}
{{ __('orders::orders.contact_broker') }}
@endif
{{ __('orders::orders.order_data') }}
{{ __('orders::orders.order_id') }} : #{{ $order->id }}
{{ __('orders::orders.order_date') }} : {{ $order->translated_date_format }}
{{ __('orders::orders.order_time') }} : {{ $order->createdTimeFormatted }}
{{ __('orders::orders.status') }} : {{ $order->getStatusText() }}
{{ __('orders::orders.payment_status') }} : {{ __("general.payment_status_$order->payment_status") }}
@if($order->status->value == 3)
@method('PUT') @csrf
@endif
{{ __('orders::orders.account_details') }}
{{ __('products::products.title') }} : {{ $order->product->currentDescription->title ?? "" }}
{{ __('products::products.account_number') }} : {{ $order->product->uuid ?? "" }}
{{ __('products::products.price') }} : {{ format_number($order->converted_amounts['product_price'] ?? 0) . ' ' . $order->currency_code }}
{{ __('products::products.category_id') }} : {{ $order->product->category->currentDescription->name ?? "" }}
{{ __('products::products.platform') }} : {{ $order->product?->platformNames ? implode(' - ', $order->product->platformNames) : '' }}
{{ __('orders::orders.invoice') }}
  • {{ __('orders::orders.payment_method') }} {{ $order->paymentMethod->currentDescription->title ?? "-" }}
  • {{ __('orders::orders.cost') }} {{ format_number($order->converted_amounts['subtotal_before_discount'] ?? 0) ." ".$order->currency_code }}
  • @if($order->coupon_discount > 0)
  • {{ __('orders::orders.coupon_discount') }} {{ format_number($order->converted_amounts['coupon_discount'] ?? 0) ." ".$order->currency_code }}
  • @endif @if($order->refunded_amount > 0)
  • {{ __('orders::orders.refunded_amount') }} {{ format_number($order->converted_amounts['refunded_amount'] ?? 0) ." ".$order->currency_code }}
  • @endif @if($order->tax_amount > 0)
  • {{ __('orders::orders.tax_amount') }} {{ format_number($order->converted_amounts['tax_amount'] ?? 0) ." ".$order->currency_code }}
  • @endif
  • {{ __('orders::orders.total') }} {{ format_number($order->converted_amounts['total'] ?? 0) ." ".$order->currency_code }}
@if(_is_file($order->pdf)) {{ __('orders::orders.download_invoice') }} @endif
@endsection @push('stack_scripts') @endpush