Seller:
{{ $pickup->organisation_name }}
{{ $pickup->address }}
@if ($pickup->address_2 != '')
{{ $pickup->address_2 }}
@endif
Pincode: {{ $pickup->pin_code }}
City: {{ $pickup->city }}
State: {{ $pickup->state }}
Country: {{ $pickup->country }}
Phone: {{ $pickup->phone }}
Email: {{ $pickup->email }}
GSTIN: {{ $pickup->gst_number }}
Buyer:
{{ $order->user->name }}
{{ $order->shippingAddress->line1 }}
@if ($order->shippingAddress->line2 != '')
{{ $order->shippingAddress->line2 }}
@endif
Pincode: {{ $order->shippingAddress->pincode }}
City: {{ $order->shippingAddress->city }}
District: {{ $order->shippingAddress->district }}
State: {{ $order->shippingAddress->state }}
Country: {{ $order->shippingAddress->country }}
Phone: {{ $order->user->mobile }}
Email: {{ $order->user->email }}
@if ($order->gst_number != '')
GSTIN: {{ $order->gst_number }}
@endif
@if ($order->org_name != '')
Company: {{ $order->org_name }}
@endif
Invoice No: {{ $order->invoice_id }}
Invoice Date: {{ \Carbon\Carbon::parse($order->created_at)->format('d M Y, h:i A') }}
Order ID: {{ $order->payment_order_id }}
@if ($order->transaction_id != '')
Transaction ID: {{ $order->transaction_id }}
@endif
@if (in_array($order->under_process, [2, 3, 4]))
Note: This order was cancelled
@if ($order->under_process == 2)
by user.
@elseif($order->under_process == 3)
by admin.
@elseif($order->under_process == 4)
and refunded successfully
@if ($order->cancelled_by == 'user')
(cancelled by user).
@elseif($order->cancelled_by == 'admin')
(cancelled by admin).
@else
(cancellation source unknown)
.
@endif
@endif
@endif