@if($customer_copy_only==0)

{{$societyinfo->cust_name}}

{{$societyinfo->contact_address ?? 'N/A'}}
E-mail: {{isset($societyinfo->email) && trim($societyinfo->email) !="" ?$societyinfo->email: 'N/A'}} @if($societyinfo->phone !='')
Phone: {{$societyinfo->phone}}, @endif @if($societyinfo->gst_no !='') GST: {{$societyinfo->gst_no}}

@endif
@if($hasLogo) @endif

Bill No: {{$bill->course_name ?? 'N/A'}}{{$bill->session_name ?? 'N/A'}}/{{str_pad($bill->bill_id, 4, '0', STR_PAD_LEFT)}} Generated on: {{date('d M Y',strtotime($bill->bill_created_at))}}
Receipt No : {{$bill->t_id}} For: Admin
For: {{ucfirst($bill->name)}} Resident of: {{$bill->building_name ?? 'N/A' }} / {{$bill->apartment_name ?? 'N/A'}}
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($bill->course_year) && !empty($bill->course_year))- {{$bill->course_year}} Year @endif @if(isset($bill->batch_name) && !empty($bill->batch_name))({{$bill->batch_name}})@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->roll_no?$bill->roll_no:'N/A'}}
Billing type: {{$bill->billing_type}} Period: {{date('d M Y',strtotime($bill->from_date))}} - {{date('d M Y',strtotime($bill->to_date))}}
Payments
Payment Mode Paid at Amount UTR/CHEQUE No. Status
{{$bill->mode_name}} {{date("d-m-Y",strtotime($bill->complete_at))}} {{$bill->amount}}/- {{$bill->reference_number?$bill->reference_number:"N/A"}} {{$bill->status}}
@if($bill->notes!='')

Remark : {{$bill->notes}}

@endif
@endif

{{$societyinfo->cust_name}}

{{$societyinfo->contact_address ?? 'N/A'}}
E-mail: {{isset($societyinfo->email) && trim($societyinfo->email) !="" ?$societyinfo->email: 'N/A'}} @if($societyinfo->phone !='')
Phone: {{$societyinfo->phone}}, @endif @if($societyinfo->gst_no !='') GST: {{$societyinfo->gst_no}}

@endif
@if($hasLogo) @endif

@isset($headerText)
{{$headerText}}
@endisset
Bill No: {{$bill->course_name ?? 'N/A'}}{{$bill->session_name ?? 'N/A'}}/{{str_pad($bill->bill_id, 4, '0', STR_PAD_LEFT)}} Generated on: {{date('d M Y',strtotime($bill->bill_created_at))}}
Receipt No : {{$bill->t_id}} For: Resident
For: {{ucfirst($bill->name)}} Resident of: {{$bill->building_name}} / {{$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($bill->course_year) && !empty($bill->course_year))- {{$bill->course_year}} Year @endif @if(isset($bill->batch_name) && !empty($bill->batch_name))({{$bill->batch_name}})@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->roll_no?$bill->roll_no:'N/A'}}
Billing type: {{$bill->billing_type}} Period: {{date('d M Y',strtotime($bill->from_date))}} - {{date('d M Y',strtotime($bill->to_date))}}
Payments
Payment Mode Paid at Amount UTR/CHEQUE No Status
{{$bill->mode_name}} {{date("d-m-Y",strtotime($bill->complete_at))}} {{$bill->amount}}/- {{$bill->reference_number?$bill->reference_number:"N/A"}} {{$bill->status}}
@if($bill->notes!='')

Remark : {{$bill->notes}}

@endif