@extends(get_view('pages.user.index')) @section('user.sidebar-my-orders') active @endsection @section('user.content')
| Sipariş Numarası | Tarih | Ürün Sayısı | Durum | Toplam Tutar | |||||
|---|---|---|---|---|---|---|---|---|---|
| {{ $order->order_number }} | {{ $order->created_at->format('d M, Y') }} | {{ $order->order_products->count() }} |
@if ( $order->status == 0 )
{{ __('Onay Bekliyor') }} @elseif ( $order->status == 1 ) {{ __('Sipariş Onaylandı') }} @elseif ( $order->status == 2 ) {{ __('Sipariş İptal Edildi') }} @endif |
{{ $order->get_price(false) }} | |||||
|
@if ( $order->invoice_filename != null )
@endif
@foreach ($order->order_products as $order_product)
@if ( $order_product->order_status >= 0 && $order_product->order_status <= 3 )
@include('admin.components.order.steps.inprogress')
@elseif( $order_product->order_status > 3 && $order_product->order_status <= 5 )
@include('admin.components.order.steps.return')
@endif
@if ( $order_product->product->first_image != null )
{{ __('Ürün Fotoğrafı Bulunamadı') }}
@endif
{{ $order_product->product->content->name ?? '-' }}{{ $order_product->get_price(false) }} ({{ $order_product->quantity }}x) {{-- Ürünü Değerlendir --}}
@if ( $order_product->order_status >= 2 )
@if( $order_product->cargo_company_name != null && $order_product->cargo_number != null )
{{ __('Kargo Firması') }}: {{ __('Kargo Numarası') }}:
@if ( $order_product->invoice_filename != null)
{{ __('Faturayı Gör') }}
@endif
@if ( $order_product->can_return() )
{{ __('İade Talebi Oluştur') }}
@elseif( $order_product->return_request() )
{{ __('İade Talebi Oluşturuldu') }} {{ __('Teslimat Adresi') }}{{ $order->delivery_address->fullname }} {{ $order->delivery_address->phone }} {{ $order->delivery_address->country->name }}/{{ $order->delivery_address->city }}/{{ $order->delivery_address->district }} - {{ $order->delivery_address->postcode }} {{ $order->delivery_address->address }} {{ __('Fatura Adresi') }}{{ $order->invoice_address->fullname }} {{ $order->invoice_address->phone }} {{ $order->invoice_address->country->name }}/{{ $order->invoice_address->city }}/{{ $order->invoice_address->district }} - {{ $order->invoice_address->postcode }} {{ $order->invoice_address->address }} |
|||||||||
{{ __('Sepetinize ürünler ekleyerek alışveriş yapabilirsiniz.') }}