@php $tatalTras = count($transactions); @endphp @php $rent_contact_informations= $rent_contact_informations; $rent_contact_info = json_decode($rent_contact_informations, true); @endphp @if (isset($rent_contact_info['is_receipt_footer_visible']) && $rent_contact_info['is_receipt_footer_visible']!='' && $rent_contact_info['is_receipt_footer_visible']==1) @endif @if (isset($rent_contact_info['is_customer_copy_required']) && $rent_contact_info['is_customer_copy_required']!='' && $rent_contact_info['is_customer_copy_required']==1)

{{$societyinfo->cust_name}}

{{$societyinfo->contact_address ?? 'N/A'}} @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($hasLogo) @endif

Bill No: {{$bill->course_name ?? ''}}/{{$bill->session_name ?? ''}}/{{str_pad($bill->bill_id, 4, '0', STR_PAD_LEFT)}} Generated on: {{date('d M Y',strtotime($bill->created_at))}}
Student Name: {{ucfirst($bill->name)}} Room: @if(isset($bill->building) && !empty($bill->building)) {{$bill->building}} @endif @if(isset($bill->unit_description) && !empty($bill->unit_description))/ {{$bill->unit_description}} @endif @if(isset($bill->apartment_name) && !empty($bill->apartment_name))/ {{$bill->apartment_name}} @endif @if(empty($bill->building) && empty($bill->unit_description) && empty($bill->apartment_name)) N/A @endif
E-mail: {{isset($bill->email) && trim($bill->email) !="" ?$bill->email: 'N/A'}}Contact: {{$bill->contact_no ?? 'N/A' }}
Academic: @if(isset($bill->course_name) && !empty($bill->course_name)){{$bill->course_name}}@endif @if(isset($bill->branch_name) && !empty($bill->branch_name))/ {{$bill->branch_name}}@endif @if (isset($rent_contact_info['is_course_year_visible']) && $rent_contact_info['is_course_year_visible']!='' && $rent_contact_info['is_course_year_visible']==1) @if(isset($bill->course_year) && !empty($bill->course_year))/ {{$bill->course_year}} Year @endif @endif @if (isset($rent_contact_info['is_batch_name_visible']) && $rent_contact_info['is_batch_name_visible']!='' && $rent_contact_info['is_batch_name_visible']==1) @if(isset($bill->batch_name) && !empty($bill->batch_name))/ {{$bill->batch_name}} @endif @endif @if(empty($bill->course_name) && empty($bill->branch_name) && empty($bill->course_year) && empty($bill->batch_name)) N/A @endif {{ $settingLabel ?? 'N/A'}}: {{ $bill->reference_number?$bill->reference_number:'N/A'}}
@php $breakup=[]; if(!empty($bill->break_up)){ $breakup=json_decode($bill->break_up); } @endphp @if(count($breakup)>0) @endif
Billing For: {{$bill->billing_for}} Period: {{date('d M Y',strtotime($bill->from_date))}} - {{date('d M Y',strtotime($bill->to_date))}}
Total Amount: INR {{number_format($bill->amount,2)}}/- @if($bill->resident_discount>0)
Resident Discount: INR {{$bill->resident_discount}}/- @endif @if($bill->bill_discount_amount>0)
Bill Discount: INR {{$bill->bill_discount_amount}}/- @endif
@php $netAmt = explode('.', $bill->net_amount); if(isset($netAmt[1])){ if(strlen((string)$netAmt[1])==1){ $netAmt[1] = $netAmt[1]."0"; } } @endphp Net Amount: INR {{number_format($bill->net_amount,2)}}/-
{{ucwords((new NumberFormatter('en_IN', NumberFormatter::SPELLOUT))->format($netAmt[0]))}} @if(isset($netAmt[1])) Rupees And {{ucwords((new NumberFormatter('en_IN', NumberFormatter::SPELLOUT))->format($netAmt[1]))}} Paise @endifOnly
Paid Amount: INR {{number_format($bill->paid_amount,2)}}/-
@if($remaining_amount > 0) Remaining Amount: INR {{number_format($remaining_amount,2)}}/-
@php $remainingAmt = explode('.', $remaining_amount); if(isset($remainingAmt[1])){ if(strlen((string)$remainingAmt[1])==1){ $remainingAmt[1] = $remainingAmt[1]."0"; } } @endphp {{ucwords((new NumberFormatter('en_IN', NumberFormatter::SPELLOUT))->format($remainingAmt[0]))}} @if(isset($remainingAmt[1])) Rupees And {{ucwords((new NumberFormatter('en_IN', NumberFormatter::SPELLOUT))->format($remainingAmt[1]))}} Paise @endifOnly @endif
Break up @foreach($breakup as $month) {{$month->month}}: {{$month->amount}} INR
@endforeach
Total: INR {{$bill->net_amount}}/- @if($bill->tax !=0) (Includes {{$bill->tax}}% GST) @endif @if(!empty($bill->cancelled_by)) @else @if($bill->paid_amount==$bill->net_amount) @elseif($bill->paid_amount>0) @else @endif @endif
@endif @php $is_customer_copy_required =0; if (isset($rent_contact_info['is_customer_copy_required']) && $rent_contact_info['is_customer_copy_required']!='' && $rent_contact_info['is_customer_copy_required']==1){ $is_customer_copy_required =1; } @endphp

{{$societyinfo->cust_name}}

{{$societyinfo->contact_address ?? 'N/A'}} @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($hasLogo) @endif

@isset($headerText) @endisset
Bill No: {{$bill->course_name ?? ''}}/{{$bill->session_name ?? ''}}/{{str_pad($bill->bill_id, 4, '0', STR_PAD_LEFT)}} Generated on: {{date('d M Y',strtotime($bill->created_at))}}
Student Name: {{ucfirst($bill->name)}} Room: {{$bill->building ?? '' }}/{{$bill->unit_description ?? ''}}/{{$bill->apartment_name ?? ''}}
E-mail: {{isset($bill->email) && trim($bill->email) !="" ?$bill->email: 'N/A'}}Contact: {{$bill->contact_no ?? 'N/A' }}
Academic: @if(isset($bill->course_name) && !empty($bill->course_name)){{$bill->course_name}}@endif @if(isset($bill->branch_name) && !empty($bill->branch_name))/ {{$bill->branch_name}}@endif @if (isset($rent_contact_info['is_course_year_visible']) && $rent_contact_info['is_course_year_visible']!='' && $rent_contact_info['is_course_year_visible']==1) @if(isset($bill->course_year) && !empty($bill->course_year))/ {{$bill->course_year}} Year @endif @endif @if (isset($rent_contact_info['is_batch_name_visible']) && $rent_contact_info['is_batch_name_visible']!='' && $rent_contact_info['is_batch_name_visible']==1) @if(isset($bill->batch_name) && !empty($bill->batch_name))/ {{$bill->batch_name}} @endif @endif @if(empty($bill->course_name) && empty($bill->branch_name) && empty($bill->course_year) && empty($bill->batch_name)) N/A @endif {{ $settingLabel ?? 'N/A'}}: {{ $bill->reference_number?$bill->reference_number:'N/A'}}
@php $breakup=[]; if(!empty($bill->break_up)){ $breakup=json_decode($bill->break_up); } @endphp @if(count($breakup)>0) @endif
Billing For: {{$bill->billing_for}} Period: {{date('d M Y',strtotime($bill->from_date))}} - {{date('d M Y',strtotime($bill->to_date))}}
Total Amount: INR {{number_format($bill->amount,2)}}/- @if($bill->resident_discount>0)
Resident Discount: INR {{$bill->resident_discount}}/- @endif @if($bill->bill_discount_amount>0)
Bill Discount: INR {{$bill->bill_discount_amount}}/- @endif
@php $netAmt = explode('.', $bill->net_amount); if(isset($netAmt[1])){ if(strlen((string)$netAmt[1])==1){ $netAmt[1] = $netAmt[1]."0"; } } @endphp Net Amount: INR {{number_format($bill->net_amount,2)}}/-
{{ucwords((new NumberFormatter('en_IN', NumberFormatter::SPELLOUT))->format($netAmt[0]))}} @if(isset($netAmt[1])) Rupees And {{ucwords((new NumberFormatter('en_IN', NumberFormatter::SPELLOUT))->format($netAmt[1]))}} Paise @endifOnly
Paid Amount: INR {{number_format($bill->paid_amount,2)}}/-
@if($remaining_amount > 0) Remaining Amount: INR {{number_format($remaining_amount,2)}}/-
@php $remainingAmt = explode('.', $remaining_amount); if(isset($remainingAmt[1])){ if(strlen((string)$remainingAmt[1])==1){ $remainingAmt[1] = $remainingAmt[1]."0"; } } @endphp {{ucwords((new NumberFormatter('en_IN', NumberFormatter::SPELLOUT))->format($remainingAmt[0]))}} @if(isset($remainingAmt[1])) Rupees And {{ucwords((new NumberFormatter('en_IN', NumberFormatter::SPELLOUT))->format($remainingAmt[1]))}} Paise @endifOnly @endif
Break up @foreach($breakup as $month) {{$month->month}}: {{$month->amount}} INR
@endforeach
Total: INR {{$bill->net_amount}}/- @if($bill->tax !=0) (Includes {{$bill->tax}}% GST) @endif @if(!empty($bill->cancelled_by)) @else @if($bill->paid_amount==$bill->net_amount) @elseif($bill->paid_amount>0) @else @endif @endif
@if($other_bills != "")

{{$societyinfo->cust_name}}

{{$societyinfo->contact_address ?? 'N/A'}} @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($hasLogo) @endif

@isset($headerText)
{{$headerText}}
Other Charges
@endisset
Bill No: {{$bill->course_name ?? ''}}/{{$bill->session_name ?? ''}}/{{$bill->bill_id}} Generated on: {{date('d M Y',strtotime($bill->created_at))}}
For: {{ucfirst($bill->name)}} Room: {{$bill->building}} / {{$bill->apartment_name}}
E-mail: {{isset($bill->email) && trim($bill->email) !="" ?$bill->email: 'N/A'}}Contact: {{$bill->contact_no ?? 'N/A' }}
INR @if(!empty($bill->cancelled_by)) @else @if($other_charge_piad_amount==$other_charge_with_tax) @elseif($other_charge_piad_amount>0) @else @endif @endif
Billing For: {{$bill->billing_for}} Period: {{date('d M Y',strtotime($bill->from_date))}} - {{date('d M Y',strtotime($bill->to_date))}}
{{$charge_text}}: {{$other_charge_without_Tax}}
Tax:{{$other_tax_amount}}
Total:{{$other_charge_with_tax}}/-
@endif