Selected property
@foreach($properties as $property) @if($receipt->customer_property_id == $property->id) @else @endif @endforeach
Unit No. Net Amount of unit Received Amount Remaining Amount Last Payment Date
{{$property->inventory ? $property->inventory->unit_number : '' }} {{number_format($property->net_pay)}} PKR {{number_format($receivedAmount[$property->id])}} PKR {{number_format($remainingAmount[$property->id])}} PKR {{$lastDate[$property->id] ? date('d-m-Y', strtotime($lastDate[$property->id]->receipt_date)) : ''}}