{{$bussinessData->businessname}}

Email:{{ $bussinessData->email }} Mobile:{{ $bussinessData->mobile }}, {{ $bussinessData->mobile_secondary }}
Address:{{ $bussinessData->address }}, {{ $bussinessData->city }}, {{ $bussinessData->state }}, {{ $bussinessData->pincodede }}
@if($bussinessData->pic) @else @endif

Electricity Report

@php $count = 1; $totalUnits=0; $totalCandidatesAmount = 0; $discountedUnits = 0; $totalCurrentAmount = 0; @endphp @forelse($electricityRecords as $record) @php $totalUnits += $record->units; $discountedUnits += $record->discountUnits; @endphp @forelse($record->studentElectricityRecords as $index => $studentRecord) @php $totalCandidatesAmount += floatval(App\Models\StudentElecticityRecords::calculateTotalAmountForStudent($studentRecord->userId)); $totalCurrentAmount += $studentRecord->Amount; @endphp @if($index == 0) @else @endif @empty @endforelse @empty @endforelse
S No Room No {{ $PrenseBillDate }}
Present Reading
{{ $PreviousBillDate }}
Previous Reading
Total Unit Waved Off Units Candidate Name Candidate/Unit Amount Status Total Amount
{{ $count++ }} {{ $record->roomno }} {{ $record->present_reading }} {{ $record->previous_reading }} {{ $record->units }} {{ $record->discountUnits }}{{ strtolower($studentRecord->student->candidatename) }} {{ $studentRecord->prUnitCharge }} {{ $studentRecord->Amount}} {{ $studentRecord->status < 2 ? 'UnPaid':"Paid" }} {{ $totalAmount = App\Models\StudentElecticityRecords::calculateTotalAmountForStudent($studentRecord->userId)}}
{{ strtolower($studentRecord->student->candidatename) }} {{ $studentRecord->prUnitCharge}} {{ $studentRecord->Amount }} {{ $studentRecord->status < 2 ? 'UnPaid':"Paid" }} {{$totalAmount = App\Models\StudentElecticityRecords::calculateTotalAmountForStudent($studentRecord->userId)}}
No Record Found
Total {{ $totalUnits }} {{ $discountedUnits }} {{ $totalCurrentAmount }} {{ $totalCandidatesAmount }}