@php $rent_contact_informations= $data['rent_contact_informations']; $rent_contact_info = json_decode($rent_contact_informations, true); @endphp @if($data['is_admission_fee_required'] > 0) @endif @if($data['is_form_fee_required'] > 0) @endif @foreach($otherCharge as $charge) @endforeach @if($data['bill_discount_amount'] > 0) @endif @if($data['resident_discount'] > 0) @endif @if($data['tax'] > 0) @endif @if($data['is_security_deposits_required'] > 0) @endif @if (isset($rent_contact_info['email']) && $rent_contact_info['email']!='') @endif

{{$societyinfo->cust_name}}

{{$societyinfo->contact_address}} @if (isset($rent_contact_info['email']) && $rent_contact_info['email']!='')
E-mail: {{$rent_contact_info['email']}} @endif @if (isset($rent_contact_info['phone']) && $rent_contact_info['phone']!='')
Phone: {{$rent_contact_info['phone']}} @endif @if (isset($rent_contact_info['gst_no']) && $rent_contact_info['gst_no']!='') , GST: {{$rent_contact_info['gst_no']}} @endif

@if($data['hasLogo']) @endif
Invoice   :   @if(isset($data['course_name']) && !empty($data['course_name'])){{$data['course_name']}}@endif @if(isset($data['session_name']) && !empty($data['session_name']))/{{$data['session_name']}}@endif @if(isset($data['bill_no']) && !empty($data['bill_no']))/{{$data['bill_no']}}@endif Roll No   :   @if(!empty($data['roll_no'])) {{ $data['roll_no'] }} @else N/A @endif
Date {{$data['date']}} Name Of Student   :   {{ $data['student_name']}}
Type Of Bed Selected Room   :  @if(!empty($data['type_of_bed_selected'])) {{ $data['type_of_bed_selected'] }} @else N/A @endif
Duration Of Stay From   :  {{ $data['from_date']}} Till   :   {{ $data['to_date']}}
Particulars Total Amount
1 Admission Form {{ $data['admission_fee']}}
2 Registration Fees {{ $data['registration_fee']}}
{{$data['billing_type']}}
3 Room Charges @if($data['billing_type'] == 'SESSION') {{ $maintenanceChargeRate->amount_session ?? '0' }} @elseif($data['billing_type'] == 'DAILY') {{ $maintenanceChargeRate->amount_daily ?? '0' }} @else {{ $maintenanceChargeRate->amount ?? '0' }} @endif {{ $data['session_amount']}}
4 {{$charge['charge_text']}} {{$charge['opermonth']}} {{$charge['omonthsDifference']}} {{ $charge['omonthsDifference'] * $charge['opermonth'] }}
5 Total {{ $data['total_amount']}}
Bill Discount {{ $data['bill_discount_amount']}}
Resident Discount {{ $data['resident_discount']}}
Add GST {{ $data['tax'] ?? 0 }}% {{ $data['tax_amount'] }}
Lumpsum Refundable Secuirty Deposite {{ $data['security_deposit_amount']}}
6 Total Payable Amt {{ $data['net_amount']}}
For further queries, please contact us : {{$rent_contact_info['email']}}