

<p style="text-align: center; font-size: 18px; font-weight: bolder;">Pick one property</p>
<div class="table-responsive">
                                <table id="myTable" class="table table-striped">
                                    <thead>
                                        <tr>
                                            <th></th>
                                            <th>Project</th>
                                            <th>Unit No.</th>
                                            <th>Reference No.</th>
                                            <th>Net Amount of unit</th>
                                            <th>Received Amount</th>
                                            <th>Remaining Amount</th>
                                            <th>Last Payment Date</th>
                                        </tr>
                                    </thead>
                                    <tbody>

                                        <?php $__currentLoopData = $properties; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $property): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                         
                                         

                                        <tr>
                                           
                                            <?php if(old('customer_property_id') == $property->id): ?>
                                            <td><input id="property_id" style="zoom: 1.4;" type="radio" checked="" required name='customer_property_id' value='<?php echo e($property->id); ?>'  data-booking_type="<?php echo e($property->booking_type); ?>" onchange="getAmount(this)" ></td>
                                          <?php else: ?>
                                           <td><input id="property_id" style="zoom: 1.4;" type="radio" required name='customer_property_id' data-booking_type="<?php echo e($property->booking_type); ?>" value='<?php echo e($property->id); ?>'  onchange="getAmount(this)"></td>
                                          <?php endif; ?>
                                          <td><?php echo e($property->inventory->multiProject ? $property->inventory->multiProject->name : 'None'); ?></td> 
                                          <td><?php echo e($property->inventory ? $property->inventory->unit_number : ''); ?></td>
                                          <td><?php echo e($property->membership_no); ?></td>
                                            <td><?php echo e(number_format($property->net_pay)); ?> PKR</td>
                                            <td><?php echo e(number_format($receivedAmount[$property->id])); ?> PKR</td>
                                            <td><?php echo e(number_format($remainingAmount[$property->id])); ?> PKR</td>
                                             <td> <?php echo e($lastDate[$property->id] ? date('d-m-Y', strtotime($lastDate[$property->id]->receipt_date)) : ''); ?></td>

                                             <input type="hidden" id="rem<?php echo e($property->id); ?>" value="<?php echo e($remainingAmount[$property->id]); ?>" data-id = '<?php echo e($property->id); ?>'>

                                        </tr>

                                        
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>




                                    </tbody>
                                </table>
                            </div>

  <input type="hidden" value="<?php echo e(!empty($property) ? $property->customer->is_filer : ''); ?>" id="is_filer"><?php /**PATH /home/proje372/akram-city.projecterp.net/resources/views/receipt/update-property.blade.php ENDPATH**/ ?>