@php $logoPath = public_path('admin/images/bncmc-logo.png'); $logoSrc = ''; if (file_exists($logoPath)) { $logoData = base64_encode(file_get_contents($logoPath)); $mimeType = mime_content_type($logoPath); $logoSrc = 'data:' . $mimeType . ';base64,' . $logoData; } else { $logoSrc = asset('admin/images/bncmc-logo.png'); } @endphp
Bhiwandi Nizampur City Municipal Corporation
भिवंडी निजामपूर शहर महानगरपालिका
Water Tax Department / पाणीपुरवठा कर विभाग
DEMAND REGISTER SUMMARY / मागणी नोंदवही (सारांश)
From Date / दिनांक पासून: {{ $fromDate }} To Date / पर्यंत: {{ $toDate }}
@php if (!function_exists('indian_format')) { function indian_format($number) { $decimal = round($number - ($no = floor($number)), 2) * 100; $hundred = null; $digits_length = strlen($no); $i = 0; $str = array(); $words = array(0 => '', 1 => '1', 2 => '2', 3 => '3', 4 => '4', 5 => '5', 6 => '6', 7 => '7', 8 => '8', 9 => '9', 10 => '10', 11 => '11', 12 => '12', 13 => '13', 14 => '14', 15 => '15', 16 => '16', 17 => '17', 18 => '18', 19 => '19', 20 => '20', 30 => '30', 40 => '40', 50 => '50', 60 => '60', 70 => '70', 80 => '80', 90 => '90'); $digits = array('', 'Hundred', 'Thousand', 'Lakh', 'Crore'); $num = explode('.', number_format($number, 2, '.', '')); $whole = $num[0]; $decimal = $num[1]; $last3 = substr($whole, -3); $rest = substr($whole, 0, -3); if($rest) { $rest = preg_replace("/\B(?=(\d{2})+(?!\d))/", ",", $rest); return $rest . "," . $last3 . "." . $decimal; } else { return $last3 . "." . $decimal; } } } $grandTotalPrevious = 0; $grandTotalCurrent = 0; $grandTotalAdvance = 0; $grandTotalTotal = 0; @endphp @forelse ($data as $row) @php $grandTotalPrevious += $row['previous']; $grandTotalCurrent += $row['current']; $grandTotalAdvance += $row['advance']; $grandTotalTotal += $row['total']; @endphp @empty @endforelse
WARD / प्रभाग VIBHAG / विभाग BLOCK / ब्लॉक DEMAND DETAILS / मागणी तपशील
PREVIOUS / मागील CURRENT / चालू ADVANCE / आगाऊ TOTAL / एकूण
{{ $row['prabhag_name'] }} {{ $row['zone_name'] }} {{ $row['bhubhag_name'] }} {{ indian_format($row['previous']) }} {{ indian_format($row['current']) }} {{ indian_format($row['advance']) }} {{ indian_format($row['total']) }}
No Data Found
GRAND TOTAL / एकूण : {{ indian_format($grandTotalPrevious) }} {{ indian_format($grandTotalCurrent) }} {{ indian_format($grandTotalAdvance) }} {{ indian_format($grandTotalTotal) }}
Report Generated on: {{ date('d-m-Y h:i A') }}