{{ translate('Order Details') }}
{{ translate('Order') }} - {{ $order->order_id }}
@if ($order->payment_status == App\Models\Order::UNPAID) {{ translate('Unpaid') }} @elseif($order->payment_status == App\Models\Order::PAID) {{ translate('Paid') }} @endif & @php echo order_status_badge($order->status) @endphp @if($order->verification_code) -
{{$order->verification_code}}
@endif
{{ translate('Product Name') }} | {{ translate('Item Price') }} | {{ translate('Qty') }} | {{ translate('Total') }} | {{ translate('Status') }} | ||||||
---|---|---|---|---|---|---|---|---|---|---|
@php $product = $orderDetail->product; $slug = $product->slug ? $product->slug : make_slug($product->name); @endphp {{ $product->name }}
{{ $orderDetail->attribute }}
|
{{ short_amount($orderDetail->total_price / $orderDetail->quantity) }} | {{ $orderDetail->quantity }} | {{ short_amount($orderDetail->total_price) }} | @php echo order_status_badge($orderDetail->status) @endphp | ||||||
|
{{ translate('Product Status Update') }}
@foreach ($orderStatus as $status)
@endforeach
-
{{ translate('Note') }} : {{ $status->payment_note }}
{{ $status->created_at->format('d-m-Y') }}
-
{{ translate('Note') }} : {{ $status->delivery_note }}
{{ $status->created_at->format('d-m-Y') }}
@php
$customerName = @$order->customer->name ?? @$order->billing_information->first_name;
$email = @$order->customer->email ?? @$order->billing_information->email;
$phone = @$order->customer->phone ?? @$order->billing_information->phone ;
if(@$order->billingAddress){
$email = @$order->billingAddress->email;
$phone = @$order->billingAddress->phone;
$customerName = @$order->billingAddress->first_name;
}
@endphp
-
@if($order->customer)
{{ @$customerName }}
{{ translate('Customer') }}
- {{ @$email }}
- {{ @$phone }}
{{translate('Payment details')}}
- {{translate('Payment status')}} : @if ($order->payment_status == App\Models\Order::UNPAID) {{ translate('Unpaid') }} @elseif($order->payment_status == App\Models\Order::PAID) {{ translate('Paid') }} @endif
- {{translate('Payment VIA')}} : @if($order->wallet_payment == App\Models\Order::WALLET_PAYMENT) {{ translate('Payment VIA Wallet')}} @else @if ($order->payment_type == '2') {{ @$order->paymentMethod ? $order->paymentMethod->name : 'N/A' }} @else {{ translate('Cash On Delivary') }} @endif @endif @if($order->payment_details) @foreach ($order->payment_details as $key => $value )
- {{k2t($key)}} : {{$value}} @endforeach @endif
{{ translate('Billing Address') }}
- {{ translate('First Name') }} : {{ $order->billingAddress->first_name }}
- {{ translate('Last Name') }} : {{ $order->billingAddress->last_name }}
- {{ translate('Email') }} : {{ $order->billingAddress->email }}
- {{ translate('Phone') }} : {{ $order->billingAddress->phone }}
- {{ translate('Address') }} : {{ $order->billingAddress->address->address }}
- {{ translate('Zip') }} : {{ $order->billingAddress->zip }}
- {{ translate('City') }} : {{ $order->billingAddress->city->name }}
- {{ translate('State') }} : {{ $order->billingAddress->state->name }}
- {{ translate('Country') }} : {{ $order->billingAddress->country->name }}
{{ translate('Billing Address') }}
-
@foreach (@$order->billing_information as $key => $value)
- {{ k2t($key) }} : {{ $value }} @endforeach
{{ translate('Shipping Address') }}
- {{translate("Carrier")}} : {{ @$order->shipping->name }}
- {{translate("Duration")}} : {{ @$order->shipping->duration }} {{ translate('Days') }}