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