@extends('layouts.admin', ['title' => 'تاریخچه سفارشات کاربر']) @section('content')
@include('admin.users.profile.nav', ['profile_id' => $user_id]) سطل بازیافت

@foreach($carts as $item) @else استعلام قیمت @endif @if($item->ShowPrice==1 || ( $item->status== 2 || $item->status== 3 || $item->status== 4 || $item->status== 7 || $item->status== 15 || $item->status== 16)) @else @endif @endforeach
ردیف شماره‌ پیگیری تاریخ پرداخت آنلاین جمع کل کد تخفیف مبلغ قابل پرداخت امتیاز وضعیت
{{ $item->rowIndex }} DO-{{ $item->invoice_number }} @if($item->status== 6|| $item->status== 8 || $item->status== 0 ){{ GetShamsiDate($item->updated_at) }}@else{{ $item->paid_at != '0000-00-00 00:00:00' && $item->paid_at != '' ? GetShamsiDate($item->paid_at) : GetShamsiDate($item->updated_at) }}@endif {{ $item->paid }} تومان @if($item->ShowPrice==1 || ( $item->status== 2 || $item->status== 3 || $item->status== 4 || $item->status== 7 || $item->status== 15 || $item->status== 16)) {{ number_format($item->total, 0, '', ',') }} تومان {{ number_format($item->discount_accepted + $item->discount_admin, 0, '', ',') }}{{ number_format($item->total_amount + $item->packaging_cost + ($item->shipping_amount != -1 ? $item->shipping_amount : 0) - $item->discount_accepted - ($item->discount_amount!=0 ? 0 : $item->discount_bons) - $item->discount_admin + ($item->shipping_amount < 10 ? 0 : 0) , 0, '' , ',' ) }} تومان استعلام قیمت {{ $item->club_cart_point }} @if($item->returned == true) برگشت به فروشگاه @else {{ $MembersController->getStatusTitle( $item->status) }} @if( $item->status==6) تکمیل خرید @elseif( $item->status==8 || $item->status==10) تکمیل خرید @endif @endif مدارک
نمایش جزئیات این سفارش
@foreach($item->Data2 as $item2) @if(App\Models\Product::find($item2->product_id)->ShowPrice() || ( $item->status== 2 || $item->status== 3 || $item->status== 4 || $item->status== 7 || $item->status== 15 || $item->status== 16)) @else @endif @endforeach @if($item->posting_code!='') @endif
شرح محصول تعداد قیمت واحد قیمت کل
{{ $item2->title }} {{ $item2->options != '' ? " ($item2->options) " : '' }} {{ $item2->num }}{{ number_format($item2->amount + $item2->options_amount, 0, '', ',') }} تومان {{ number_format($item2->amount_num + $item2->options_amount_num, 0, '', ',') }} تومان استعلام قیمت استعلام قیمت
تحویل گیرنده : {{ $item->flname }}
شماره همراه : {{ $item->mobile }}
شماره ثابت : {{ $item->phone }}
کدپستی : {{ $item->zipcode }}
آدرس : {{ $item->delivery_address }}
هزینه ارسال : @if($item->shipping_amount== 0) @if($item->packaging_cost == 0) رایگان @else {{ number_format($item->packaging_cost , 0, '', ',') }} تومان @endif @elseif($item->shipping_amount== -1) @if($item->packaging_cost == 0) پس‌کرایه @else {{ number_format($item->packaging_cost , 0, '', ',') }} تومان @endif @else {{ number_format($item->shipping_amount + $item->packaging_cost , 0, '', ',') }} تومان @endif
روش ارسال: {{ ($item->shipping_type==0 ? '-' : '') }} {{ ($item->shipping_type==1 ? 'باربری' : '') }} {{ ($item->shipping_type==2 ? 'پست' : '') }} {{ ($item->shipping_type==3 ? 'الوپیک' : '') }} {{ ($item->shipping_type==4 ? 'تیپاکس' : '') }} {{ ($item->shipping_type==5 ? 'پیک اختصاصی دنت آنلاین' : '') }} {{ ($item->shipping_type==6 ? 'پست DTS' : '') }}
@if(in_array($item->shipping_type, array(1,2,4))) زمان لازم برای پردازش و بسته‌بندی {{ $item->delivery_delay == 0 ? ' کمتر از ۱' : $item->delivery_delay }} روز
@endif @if(($item->delivery_date !="" || $item->delivery_time != "") && !in_array($item->shipping_type, array(1,2,4))) زمان تحویل: {{ $item->delivery_date . ' ساعت ' . $item->delivery_time}}
@endif @if($item->posting_code!="") کد رهگیری مرسوله: {{ ( $item->posting_code !="" ? $item->posting_code : " - " ) }} @if($item->posting_code!='') پیگیری مرسوله @endif
@else @if($item->posting_info!="") اطلاعات ارسال: {{ $item->posting_info }}
@endif @endif
اطلاعات تغییر وضعیت ها
@stop @section('javascript') @stop