Invoice

Invoice Number {{$invoice->invoice_id ?? ''}}

Invoice Date {{$invoice->invoice_date ? \Carbon\Carbon::parse($invoice->invoice_date)->format('d-m-Y') : ''}}

Invoice To

{{$invoice->client->user->name ?? ''}}

(+91) {{$invoice->client->user->phone ?? ''}}
@php $address = optional(optional($invoice->order)->clientAddress)->address ?? optional(optional($invoice->client)->user)->location ?? ''; @endphp {{$address ?? ''}}

Invoice From

{{$settings->company_name ?? ''}}

{{$settings->address ?? ''}}
{{$settings->email ?? ''}}
(+91) {{$settings->phone ?? ''}}

{{-- --}} @if(isset($settings->declaration)) @endif
No. Description Amount
Payment Date {{isset($payment->payment_date) ? \Carbon\Carbon::parse($payment->payment_date)->format('d-m-Y') : ''}}
Payment Method {{ \App\Models\PaymentsModel::PAYMENT_MODE[$payment->payment_mode] ?? '-' }}
Previously Paid Amount ₹ {{number_format($previousPaid ?? 0,2)}}
Currently Paid Amount ₹ {{number_format($currentPaid ?? 0,2)}}
Balance Amount ₹ {{number_format($balanceAmount ?? 0,2)}}
Terms & Condition : {{$settings->declaration}}
{{-- --}} @if ($settings->whatsapp_config == 'A') @endif