{{ $company_address_line ?? '-'}}

{{ __('order_invoice') }}

#{{ $order->order_id }}

{{ __('create_date') }} : {{ \Carbon\Carbon::parse($order->created_at)->format('d M Y') }}

{{ __('due_date') }} : {{ \Carbon\Carbon::parse($order->created_at)->addDays(7)->format('d M Y') }}

{{ __('payment_status') }}

@if($order->type == 'product' && $order->payment_type == 5) @php $codPaymentStatus = $order->bookingProducts[0]->cod_payment_status; @endphp {{ $codPaymentStatus == 1 ? __('unpaid') : ( $codPaymentStatus == 2 ? __('paid') : __('refund') ) }} @else {{ $order->payment_status == 1 ? __('unpaid') : ( $order->payment_status == 2 ? __('paid') : __('refund') ) }} @endif
{{ __('billing_address') }}

{{ $order->first_name }} {{ $order->last_name }}

{{ $order->user_address }}

{{ __('Phone') }} : {{ $order->user_phone }}

{{ __('shipping_address') }}

{{ $order->shipping_user_first_name ?? $order->first_name }} {{ $order->shipping_user_last_name ?? $order->last_name }}

{{ $order->shipping_user_address ?? $order->user_address }}

{{ __('Phone') }}: {{ $order->shipping_user_phone ?? $order->user_phone }}

{{ __('vendor_details') }}

{{ $order->bookingProducts[0]->product->shop->shop_name ?? '-'}}

{{ $order->bookingProducts[0]->vendorInfo[0]->userDetail->user_city->name ?? ''}} {{ $order->bookingProducts[0]->vendorInfo[0]->userDetail->user_state->name ?? ''}} , {{ $order->bookingProducts[0]->vendorInfo[0]->userDetail->user_country->name ?? ''}}

{{ __('Phone') }}: {{ $order->bookingProducts[0]->vendorInfo[0]->phone_number ?? '-'}}

{{ __('invoice_for') }} : {{ __('order_summary') }}
@if(!empty($items)) @foreach($items ?? [] as $key => $item) @endforeach @else @foreach($order->bookingProducts ?? [] as $key => $item) @endforeach @endif
# {{ __('item') }} {{ __('rate_item') }} {{ __('qty') }} {{ __('total') }}
{{ $key + 1 }}

{{ $item['product_name'] ?? 'N/A' }}

{{ $currencySymbol }}{{ number_format($item['price'], 2) }} {{ $item['quantity'] ?? 1 }} {{ $currencySymbol }}{{ number_format(($item['price'] * ($item['quantity'] ?? 1)), 2) }}
{{ $key + 1 }}

{{ $item->product_name ?? 'N/A' }}

{{ $currencySymbol }}{{ number_format($item->price, 2) }} {{ $item->quantity ?? 1 }} {{ $currencySymbol }}{{ number_format(($item->price * ($item->quantity ?? 1)), 2) }}
{{ __('terms_and_conditions') }}

{{ __('terms_and_conditions_1') }}

{{ __('terms_and_conditions_2') }}

{{ __('notes') }}

{{ __('notes_content') }}

{{ __('subtotal') }}

{{ $currencySymbol }}{{ number_format($order->service_amount, 2) }}

{{ __('Coupon') }}

{{ $currencySymbol }}{{ number_format($order->total_coupon_discount_amount ?? 0, 2) }}

{{ __('tax') }}

{{ $currencySymbol }}{{ number_format($order->amount_tax ?? 0, 2) }}

{{ __('total') }}
{{ $currencySymbol }}{{ number_format($order->total_amount, 2) }}

{{ __('thanks_message_invoice') }}

signature-img

{{ ucfirst(__('for')) }} {{ $companyName }}