@extends('layouts.app') @section('content')

รายงานระบบ

สรุปข้อมูลประจำเดือนและตรวจสอบสถานะการดำเนินงาน

รายรับค่าน้ำจากบิลทั้งหมด
{{ number_format($bills->sum('total_amount'),2) }} บาท
ชำระแล้ว
{{ number_format($bills->sum('paid_amount'),2) }} บาท
ค้างชำระ
{{ number_format($bills->sum('balance'),2) }} บาท
ค่าใช้จ่าย
{{ number_format($expenses->sum('amount'),2) }} บาท
รายงานบิลและค้างชำระ
@forelse($bills as $bill)@empty@endforelse
บ้านเลขที่บิลยอดบิลชำระแล้วค้างชำระสถานะ
{{ $bill->house->house_no }} - {{ $bill->house->owner_name }}{{ $bill->bill_no }}{{ number_format($bill->total_amount,2) }}{{ number_format($bill->paid_amount,2) }}{{ number_format($bill->balance,2) }}{{ $bill->status }}
ไม่มีข้อมูลบิลเดือนนี้
ค่าใช้จ่าย
@forelse($expenses as $expense)@empty@endforelse
ประเภทรายละเอียดจำนวนเงิน
{{ $expense->category }}{{ $expense->description ?: '-' }}{{ number_format($expense->amount,2) }}
ไม่มีค่าใช้จ่าย
การอ่านมิเตอร์

อ่านแล้ว {{ $readings->count() }} จุด

ยังไม่ได้อ่าน {{ $pending->count() }} จุด

@if($pending->count())
    @foreach($pending->take(8) as $item)
  • บ้านเลขที่ {{ $item->house->house_no }} - มิเตอร์ {{ $item->meter->meter_no }}
  • @endforeach
@endif
@endsection