Pick one property
@foreach($properties as $property) @if(old('customer_property_id') == $property->id) @else @endif @endforeach
Unit No. Net Amount of unit Discount Amount Received Amount Remaining Amount Last Payment Date
{{$property->inventory->unit_number}} {{number_format($property->net_pay)}} PKR {{number_format($discountAmount[$property->id])}} 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)) : ''}}