@extends("layout.app") @section('style') @endsection @section("content")
@include("customers.aside")
@if (session()->has("success"))
  • {{session()->get("success")}}
@endif @php $laser_total =0 @endphp @if(false && !in_array($order->status->code,['reserve',"return","archive","no-answer","canceled","confirm-order",'no-payment']))

تتبع الطرد

  • status->code,["pending-cto","delivered","pending",'pending-payment','preparing-payment',"preparing","partial-ship","partial-delivery","shipped","shipped-b","shipped-wd","declined"])) class="active" @endif> @if($order->payment_method=="cash")بإنتظار التأكيد@else بإنتظار الدفع @endif
  • status->code,["pending-cto","delivered","preparing","shipped",'preparing-payment',"partial-ship","partial-delivery","shipped-b","shipped-wd"])) class="active" @endif> @if($order->status->code=="pending-cto") قيد الإنتظار CTO @elseif($order->payment_method=="cash")قيد التجهيز@else قيد الدفع @endif
  • status->code,["delivered","shipped","shipped-b","shipped-wd","partial-ship","partial-delivery"])) class="active" @endif> @if(in_array($order->status->code,["shipped","shipped-b","shipped-wd"])) {{$order->status->title}} @elseif(in_array($order->status->code,["partial-delivery","partial-ship"])) شحن جزئي @else تم الشحن @endif
  • @if(in_array($order->status->code,["partial-delivery","partial-ship"]))
  • status->code,["partial-delivery"])) class="active" @endif> تسليم جزئي
  • @endif
  • status->code,["delivered"])) class="active" @endif> تم التسليم
@endif

تفاصيل الطلب {{$order->track_id}}

الحالة {{$order->status->title}} @if($order->order_items()->where("preorder",1)->count()>0) طلب مسبق @endif
@if($order->status->code=="preparing-payment" || $order->status->code=="declined") track_id)}}" class="btn btn-success">ادفع الان @endif
{{-- --}} @foreach($order->order_items as $order_item)
المنتج السعرالحالة
@if($order_item->item) {!! \IHouse::wrapHtmlElementWithLink( '%s
%s', $modelLink = \IHouse::getModelLink($order_item->item, $order_item->color, $order_item->order_item_upgrades), $order_item->item_color->code, $order_item->item->nickname ) !!} {!! \IHouse::wrapHtmlElementWithLink( '%s', $modelLink, '140px', $order_item->item->name, url("https://cdn.ihouse.ps/{$order_item->item_color->image_default}") ) !!}
@elseif($order_item->accessory) {!! \IHouse::wrapHtmlElementWithLink( '%s
%s', $modelLink = \IHouse::getModelLink($order_item->accessory, $order_item->color), ($order_item->accessory_color ? $order_item->accessory_color->code : $order_item->accessory->code), $order_item->accessory->name ) !!}