@extends("admin.layouts.app") @section("styles") @endsection @section("content")
@if (session()->has("message"))
  • {{session()->get("message")}}
@endif @if (session()->has("error"))
  • {{session()->get("error")}}
@endif @if(session()->has('adjustment_response')) @php $adjustmentResponse = session()->get('adjustment_response'); @endphp
{{ $adjustmentResponse['message'] }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if ($order->customer->notes)

{{$order->customer->notes}}

@endif
Order #{{$order->track_id}}
@if($order->is_notified) Already Notified @else Send Reminder @endif Print @if($order->order_shipment && $order->order_shipment->provider == "bosta") order_shipment->package_id}")}}" class="btn blue btn-outline btn-sm"> Print Bosta @endif @if($order->status->code=="pending-payment") Send Payment @endif @if($order->status->code=="pending-payment" && \App\facades\IHouseFacade::is_lahza_paymenr_work()) true])}}" class="btn green btn-sm"> Send Payment Using Lahza @endif @if($order->payment_method!="cash" && ($order->status->code!="refund" || $order->status->code!="refund-paypal")) Refund @endif
Order Details
Order #: @if($order->properties['is_buy_direct']??false)
شراء مباشرة @endif
barcode

Order Date & Time:
{{$order->created_at}}
Order Status:
id)}}"> {{csrf_field()}}
@if($order->order_shipment)
Provider:
{{$order->order_shipment->provider}}
Tracking Number:
{{$order->order_shipment->track_id}}
@if($order->order_shipment && $order->order_shipment->provider == "mimi-express")
Order Status:(tracking)
{{\App\facades\IHouseFacade::getMimiExpressOrderStatus($order->order_shipment->track_id)}}
Order Details:
{{\App\facades\IHouseFacade::getMimiExpressOrderDetails($order->order_shipment->track_id)}}
@endif
Package Number:
{{$order->order_shipment->package_id}}
@endif
Payment Method:
@include('admin.orders.select_payment_method')
@if($payment_logs)
Channel:
{{$payment_logs->channel}}
@endif
Before Discount Total:
{{number_format($order->total_before)}}
After Discount Total:
{{number_format($order->total_after)}}
Payment Gateway Commission value:
{{ $order->gateway_commission }}
@if($order->with_delivery)
Delivery:
{{$order->delivery ? $order->delivery : "Free"}}
@endif @if($order->with_payments)
Months:
{{$order->months}}
Monthly Payment:
{{number_format($order->total/$order->months)}}
@endif @if($order->coupon_id)
Coupon Used: {{$order->coupon->code}}
{{$order->coupon_description}}
@endif @if($order->customer_balance)
Balance Used:
{{$order->customer_balance->amount}}
@endif @if($order->customer_redeem)
Points Used:
{{number_format($order->customer_redeem->amount)}} ₪
@endif @if($order->bundle_description)
{{$order->bundle_description}}
{{$order->bundle_discount}} ₪
@endif @if($order->total_laser_price)
Laser Total:
{{number_format($order->total_laser_price)}}
@endif @php $isOrderDelivered = ($order->status->code == 'delivered') @endphp
Adjustment Value:
@if($isOrderDelivered)
{{ $order->adjustment }}
Adjustment reason:
{{ $order->adjustment_reason }}
@else
@csrf
@endif
Grand Total:
{{number_format($order->total)}}
Collect Amount:
{{Form::number("collect_amount", $order->collect_amount, ['class'=>'form-control m-input','min'=>0,'id'=>'collect_amount'])}}
@if($order->customer_notes)
Customer Notes:

{{$order->customer_notes}}

@endif
Customer Information
Email:
{{$order->customer->email}}
Mobile Number:
{{$order->customer->mobile}}
Landline Number:
{{$order->customer->phone??'-'}}
@if(($orderMobile = $order->properties['mobile']??false) && $orderMobile!=$order->customer->mobile)
Order Mobile:
{{ $orderMobile }}
@endif

Shipping Address

@if($order->customer_address)
Address:
{{$order->customer_address->address}}
Building:
{{$order->customer_address->alt_address}}
City:
{{$order->customer_address->city->title}}
Town:
{{$order->customer_address->town->title}}
Notes:
{{$order->customer_address->notes}}
@elseif($order->warehouse_id)
Pickup from {{$order->warehouse->nickname}}
@else
Pickup from iHouse
@endif
Warehouse Transfer
id)}}"> {{csrf_field()}}
Warehouse:
Delivery:

Notes
id)}}"> {{csrf_field()}}
Payment History
@if($order->payment_method !="lahza")
Order ID Status Date