 <form id="form-money-info"> <div class="row" style="margin-top: 15px"> <div class="col-md-12"> <table class="table table-striped table-bordered table-hover"> <tr> <th>Nội dung</th> <th>Mã</th> <th>Nhà</th> <th>Phòng</th> <th>Khách</th> <th>Số tiền</th> <th>Đã trả</th> <th>Giảm giá</th> <th>Còn lại</th> <th></th> </tr> <?php $__currentLoopData = $moneyInfos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $moneyInfo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($moneyInfo->money_info_name); ?></td> <td><?php echo e($moneyInfo->name); ?></td> <td><?php echo e(optional($moneyInfo->hostel)->name); ?></td> <td><?php echo e(optional($moneyInfo->room)->name); ?></td> <td><?php echo e(optional($moneyInfo->contract)->name); ?></td> <td><?php echo e(number_format($moneyInfo->amount, 0, '.', '.')); ?></td> <td><?php echo e(number_format($moneyInfo->pay, 0, '.', '.')); ?></td> <td><?php echo e(number_format($moneyInfo->discount, 0, '.', '.')); ?></td> <td><?php echo e(number_format($moneyInfo->remain, 0, '.', '.')); ?></td> <td> <a data-money-info="<?php echo e($moneyInfo->id); ?>" data-date="<?php echo e($moneyInfo->date_action->format('m/Y')); ?>" class="update-money-info btn btn-icon-only green-meadow"> <i class="fa fa-edit"></i></a> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </table> </div> </div> </form>