@extends('layouts.app') @section('content')
| المبنى | الشقة | المسؤول | الفترة | المستحق | الحالة | الإيصال |
|---|---|---|---|---|---|---|
| {{ $a->building_name }} | {{ $a->apartment_number }} | {{ $a->payer_name }} | {{ $a->month->month }}/{{ $a->month->year }} | {{ number_format($a->total_due,2) }} | {{ $a->payment_status==='paid'?'مدفوع':'غير مدفوع' }} | @if($r=$a->receipts->where('status','active')->first()){{ $r->number }}@endif |