@php $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

{{$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 ?? ''}} @if($bill->course_name!='')/ @endif {{$bill->session_name ?? ''}} @if($bill->session_name!='')/ @endif {{str_pad($bill->id, 4, '0', STR_PAD_LEFT)}} Generated on: {{ $bill->date != "" ? date("d M Y",strtotime($bill->date)) : "N/A" }}
Student Name: {{ucfirst($bill->resident_name)}} Room: @if(isset($bill->building_name) && !empty($bill->building_name)) {{$bill->building_name}} @endif @if(isset($bill->unit_name) && !empty($bill->unit_name))/ {{$bill->unit_name}} @endif @if(isset($bill->apartment_name) && !empty($bill->apartment_name))/ {{$bill->apartment_name}} @endif @if(empty($bill->building_name) && empty($bill->building_name) && 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'}}
Billing Type: Advance Payment Bill
Total Amount: {{ $societyinfo->currency ?? 'INR' }} {{number_format($bill->total,2)}}/- Paid Amount: {{ $societyinfo->currency ?? 'INR' }} {{number_format($bill->payment_made,2)}}/-
Paid At: {{ $bill->updated_at != "" ? date("d M Y H:i:s",strtotime($bill->updated_at)) : date("d M Y",strtotime($bill->created_at))}} @if($bill->balance > 0) Remaining Amount: {{ $societyinfo->currency ?? 'INR' }} {{number_format($bill->balance,2)}}/-
@php $remainingAmt = explode('.', $bill->balance); 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]))}} Only @endif
Total: {{ $societyinfo->currency ?? 'INR' }} {{$bill->total}}/- @if($bill->status=="PAID") @elseif($bill->status=="PARTIALLY PAID") @else @endif
@if (isset($qrcode) && !empty($qrcode))

Scan to Pay

QR Code
@endif