Receipt

{{$societyinfo->cust_name}}

{{$societyinfo->contact_address}}

@if($hasLogo) @endif

@isset($headerText) @endisset
Name : {{ucfirst($bill['resident_name'])}}
Roll No. : {{ucfirst($bill['roll_no'] ?? 'N/A')}}
E-mail : {{$bill['email'] ?? 'N/A'}}
Phone : {{$bill['contact_no'] ?? 'N/A'}}
Receipt No: 00{{$bill['id']}}
Receipt Date : {{date('d-m-Y h:i A')}}
Bill ID : {{$bill['bill_id']}}

@if(empty($bill['payment_status'])) Subscription @else Payment @endif Details :

@if(!empty($bill['order_id'])) @endif @if(!empty($bill['reference_number'])) @endif @if($bill['discount'] > 0) @if($bill['subtotal']>0) @endif @if($bill['discount']>0) @endif @endif @if($bill['total']>0) @endif @if(!empty($bill['payment_complete_date'])) @else @endif @if(!empty($bill['mode_name'])) @endif @if(!empty($bill['payment_status'])) @endif @if(isset($receiptInfoBySetting) && isset($receiptInfoBySetting->hostel_name) &&$receiptInfoBySetting->hostel_name=="true") @endif @if(isset($receiptInfoBySetting) && isset($receiptInfoBySetting->kitchen_name) && $receiptInfoBySetting->kitchen_name=="true") @endif @if(isset($receiptInfoBySetting) && isset($receiptInfoBySetting->outlet_name) && $receiptInfoBySetting->outlet_name=="true") @endif @if(isset($receiptInfoBySetting) && isset($receiptInfoBySetting->meal_for) && $receiptInfoBySetting->meal_for=="true") @endif @if(isset($receiptInfoBySetting) && isset($receiptInfoBySetting->package_name) && $receiptInfoBySetting->package_name=="true") @endif @if(isset($receiptInfoBySetting) && isset($receiptInfoBySetting->package_type) &&$receiptInfoBySetting->package_type=="true") @endif @if(isset($receiptInfoBySetting) && isset($receiptInfoBySetting->package_duration) && $receiptInfoBySetting->package_duration=="true") @endif @if(isset($receiptInfoBySetting) && isset($receiptInfoBySetting->session_name) && $receiptInfoBySetting->session_name=="true") @endif
OrderId : {{ $bill['order_id']}}
Reference Number : {{$bill['reference_number']}}
Amount : INR {{ $bill['subtotal']}}/-
Discount : INR {{ $bill['discount']}}/-
Net Amount : INR {{ $bill['total']}}/-
Paid At : {{date('d-m-Y h:i A',strtotime($bill['payment_complete_date']))}}
Paid At : {{date('d-m-Y h:i A',strtotime($bill['completed_at']))}}
Payment Mode : {{ $bill['mode_name'] === "FretBox" ? "Online" : $bill['mode_name'] }}
Bill Status : {{$bill['billing_status']}}
Hostel Name : {{$bill['building_name']}}
Kitchen Name : {{$bill['kitchen_name']}}
Outlet Name : {{$bill['outlet_name']}}
Meal For : {{join(',', array_map('ucfirst', explode(',', $bill['meal_for'])))}}
Package Name : {{$bill['package_name']}}
Package Type : {{ucfirst($bill['package_type'])}}
Package Duration From : {{date('M Y',strtotime($bill['start_date']))}} Till : {{date('M Y',strtotime($bill['end_date']))}}
Session Name : {{$bill['session_name']}}
Booked For : Mess