<table class="table table-bordered table-hover"> <tbody> <tr> <td> Tổng số tiền trong các hóa đơn</td> <td> <?php echo e(number_format($amount, 0, '.', '.')); ?> </td> </tr> <?php $extraPrice = 0;?> <?php if($isReturnMoneyInfo): ?> <?php if($amountReturned > 0): ?> <tr> <td> <?php if(!empty($messageReturned)): ?> <?php echo e($messageReturned); ?> <?php endif; ?> </td> <td> <?php echo e(number_format($amountReturned, 0, '.', '.')); ?> </td> </tr> <?php endif; ?> <?php endif; ?> <?php if($isReturnDeposit): ?> <tr> <td> Số tiền cọc trả lại</td> <td> <input class="form-control price-r" id="amount_return_deposit" type="text" name="amount_return_deposit" value="<?php echo e(number_format($amountReturnDeposit, 0, '.', '.')); ?>"> </td> </tr> <?php endif; ?> <tr> <td> Đã thu</td> <td> <?php echo e(number_format($pay, 0, '.', '.')); ?> </td> </tr> <tr> <td> Còn lại phải thanh toán</td> <td> <?php echo e(number_format($amountReturnUser, 0, '.', '.')); ?> </td> </tr> </tbody> </table>