@extends('layout.store_layout.master') @push('custom_css') @endpush @section('content')
{{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- تعديل الحالة--}} {{--Add New Order--}}

@lang('admin.order_details')

{{-- --}} @if($item->cancel_reason) @endif @if($item->additional_notes) @endif {{-- --}} {{-- --}} {{-- --}} {{-- --}}
@lang('admin.order_number')
{{$item->order_number}}
@lang('admin.created_date')
{{getFormattedTime($item->created_at)}}
@lang('admin.order_status')
{!! $item->storeOrderCase->status_label !!}
@lang('admin.cancel_order_reason')
{{$item->cancel_reason}}
@lang('admin.notes')
{{$item->additional_notes}}
--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- @lang('admin.shipping_method')
--}} {{--
Flat Shipping Rate

@lang('admin.customer_details')

@lang('admin.the_customer')
@lang('admin.email')
{{$item->user->email?:'-'}}
@lang('admin.phone_number')
{{$item->user->full_mobile?:'-'}}+
@lang('admin.registration_date')
{{getFormattedTime($item->user->created_at)}}

@lang('admin.payment_details')

@lang('admin.payment_method')
{{$item->paymentMethod->name}}
@lang('admin.payment_status')
@if($item->is_paid != 1) @lang('admin.payment_confirmation') @else @lang('admin.payed') @endif
@lang('admin.invoice')
#INV-000414

@lang('admin.shipping_and_delivery')

@if($item->sales_representative) @else @endif
@lang('admin.delegate')
@lang('admin.email')
{{$item->sales_representative->email?:'-'}}
@lang('admin.phone_number')
{{$item->sales_representative->full_mobile?:'-'}}+
@lang('admin.there_is_no_charging_method')

@lang('admin.delivery_address')

@lang('admin.city'):
{{$item->userAddress->city->name}}

@lang('admin.the_neighborhood'):
{{$item->userAddress->neighborhood->name}}

@lang('admin.address'):
{{$item->userAddress->address_text}}

@lang('admin.order_details')

@foreach($item->products as $product) @endforeach @foreach($item->orderCoupons as $coupon) @endforeach @if($item->is_paid) @else @endif
@lang('admin.product') @lang('admin.product_options') @lang('admin.quantity') @lang('admin.unit_price') @lang('admin.the_total')
{{$product->product->name}} {{--
الحجم : كبير - اللون : أسود
--}}
@foreach($product->product_variant->variants() as $variant)

{{$variant->varaintType->name}}: {!! $variant->color ? '':$variant->name!!}

@endforeach
{{$product->qty}} {{$product->item_price}} {{getStoreDefaultCurrency()}} {{$product->price}} {{getStoreDefaultCurrency()}}
@lang('admin.cost_of_products') {{$item->product_price}} {{getStoreDefaultCurrency()}}
@lang('admin.discount_coupon') {{$coupon->coupon->code}} {{$coupon->order_discount}} {{getStoreDefaultCurrency()}}
@lang('admin.other_discounts') {{$item->other_discount}} {{getStoreDefaultCurrency()}}
@lang('admin.the_tax') ({{$item->tax_ratio}}%) {{$item->tax_price}} {{getStoreDefaultCurrency()}}
@lang('admin.delivery_cost') {{$item->delivery_price}} {{getStoreDefaultCurrency()}}
@lang('admin.total_cost') {{$item->total_price}} {{getStoreDefaultCurrency()}}
@lang('admin.wallet_paid') {{$item->wallet_amount}} {{getStoreDefaultCurrency()}}
@lang('admin.paid_by_other_means') {{$item->online_amount}} {{getStoreDefaultCurrency()}}
@lang('admin.required_payment') {{$item->online_amount}} {{getStoreDefaultCurrency()}}

@lang('admin.order_movement_updates')

@forelse($item->logs as $log) @empty @endforelse
@lang('admin.the_date') @lang('admin.the_note') @lang('admin.order_status') @lang('admin.the_admin_user_who_made_the_move')
{{getFormattedTime($log->created_at)}} {{$log->additional_notes?:'-'}} {!! $log->storeOrderCase->status_label !!} {{$log->systemAdmin?$log->systemAdmin->name:'-'}}
@lang('admin.no_movements_to_order')
@endsection @push('custom_js') @endpush