@php $company_data = $data['company_data']; $customer_data = $data['customer_data']; $order_data = $data['order_data']; $emi_data = $data['emi_data']; @endphp

Invoice #{{$emi_data->invoice_code}}

Hello {{ $customer_data->first_name }},

An invoice with invoice number #{{$emi_data->invoice_code}} is created and is waiting for payment. Please pay the amount before the due date.

{{ $customer_data->first_name.' '.$customer_data->last_name }}

{{ $customer_data->address }}

{{ $customer_data->city }}

IT - {{ $customer_data->pincode }}

Invoice Date {{date('d M, Y', strtotime($emi_data->invoice_date))}}
Due Date {{date('d M, Y', strtotime($emi_data->due_date))}}
Invoice Total INR {{ number_format($emi_data->emi_amount) }}
Sr Description Amount Previous Balance Total
1. {{ $order_data->property->title.' ('.$order_data->property->size.')' }}
@if($emi_data->month == 0) Advance Payment @else EMI Month: {{$emi_data->month}} @endif
INR {{ number_format($emi_data->emi_amount) }} INR {{ number_format($order_data->current_balance) }} INR {{ number_format($emi_data->emi_amount + $emi_data->current_balance) }}
Grand Total INR {{ number_format($emi_data->emi_amount + $order_data->current_balance) }}
Instructions:
{!! $data['invoice_terms'] !!}
{!! $data['invoice_footer'] !!}