@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->tailorOrderCase->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->has_calculated_price == 1) @else @endif--}} @if($item->is_paid != 1) @lang('admin.payment_confirmation') @else @lang('admin.payed') @endif
@lang('admin.invoice')
#INV-000414

@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->orderModels as $product) @endforeach @if($item->has_calculated_price == 1 || $item->product_price > 0) @else @endif @foreach($item->orderCoupons as $coupon) @endforeach @if($item->has_calculated_price == 1 || $item->other_discount > 0) @else @endif @if($item->has_calculated_price == 1 || $item->tax_price > 0) @else @endif @if($item->visit_price > 0) @if($item->is_visit_cost_paid == 1) @else @endif @endif @if($item->has_calculated_price == 1 || $item->total_price > 0) @else @endif @if($item->wallet_amount > 0) @endif @if($item->is_paid == 1) @else @endif
@lang('admin.the_model') @lang('admin.size_type') @lang('admin.preferences') @lang('admin.fabric_source') @lang('admin.options') @lang('admin.quantity') @lang('admin.unit_price') @lang('admin.the_total')
{{$product->measuringType?$product->measuringType->short_phrase:'-'}} {{$product->dressPreference?$product->dressPreference->name:'-'}} {{$product->fabricSelectionType?$product->fabricSelectionType->name:'-'}} @if($product->orderClothingModelProperty || ($product->userMeasurement && count($product->userMeasurement->dimensions))) @else - @endif {{$product->qty??'-'}} @if($product->clothingModel->price){{$product->clothingModel->price}} {{getStoreDefaultCurrency()}} @else - @endif @if($product->clothingModel->price && $product->qty){{$product->price * $product->qty}} {{getStoreDefaultCurrency()}} @else - @endif
@if($product->orderClothingModelProperty || ($product->userMeasurement && count($product->userMeasurement->dimensions)))
@if($product->userMeasurement && count($product->userMeasurement->dimensions))
بيانات التفصيل
@lang('admin.the_property') @lang('admin.fabric_type') @lang('admin.fabric_color') @lang('admin.jabezour_form') @lang('admin.collar_shape') @lang('admin.sleeve_shape') @lang('admin.side_pocket_shape') @lang('admin.front_pocket_shape')
@lang('admin.the_value')
@if($product->orderClothingModelProperty->fabricType) {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @else
-
@endif
@if($product->orderClothingModelProperty->fabricColor) {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}}
@else
-
@endif
@if($product->orderClothingModelProperty->jabezourForm) @else
-
@endif
@if($product->orderClothingModelProperty->collarForm) @else
-
@endif
@if($product->orderClothingModelProperty->sleeveForm) @else
-
@endif
@if($product->orderClothingModelProperty->sidePocketForm) @else
-
@endif
@if($product->orderClothingModelProperty->frontPocketForm) @else
-
@endif
@endif @if($product->userMeasurement && count($product->userMeasurement->dimensions))
@lang('admin.size_details')
@foreach($body_dimensions as $body_dimension) @endforeach @foreach($body_dimensions as $body_dimension) @php $bd=$product->userMeasurement->dimensions()->where('body_dimension_id',$body_dimension->id)->first(); @endphp @endforeach
@lang('admin.size') @lang('admin.name'){{$body_dimension->name}}
@lang('admin.the_value')
{{$product->userMeasurement->name}}
{{$bd? "$bd->measurement cm":'-'}}
@endif
@endif
@lang('admin.cost_of_products'){{$item->product_price}} {{getStoreDefaultCurrency()}}@lang('admin.undefined')
@lang('admin.discount_coupon') {{$coupon->coupon->code}} {{$coupon->order_discount}} {{getStoreDefaultCurrency()}}
@lang('admin.other_discounts'){{$item->other_discount}} {{getStoreDefaultCurrency()}}@lang('admin.undefined')
@lang('admin.the_tax') ({{$item->tax_ratio}}%){{$item->tax_price}} {{getStoreDefaultCurrency()}}@lang('admin.undefined')
@lang('admin.delivery_cost') {{$item->delivery_price}} {{getStoreDefaultCurrency()}}
@lang('admin.visit_cost_paid') {{$item->visit_price}} {{getStoreDefaultCurrency()}}
@lang('admin.visit_cost_payment_required') {{$item->visit_price}} {{getStoreDefaultCurrency()}}
@lang('admin.total_cost'){{$item->total_price}} {{getStoreDefaultCurrency()}}@lang('admin.undefined')
@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->tailorOrderCase->status_label !!} {{$log->systemAdmin?$log->systemAdmin->name:'-'}}
@lang('admin.no_movements_to_order')
@endsection @push('custom_js') @endpush