

<div class="invoice-detail-card">
    
    
    <div class="invoice-detail-header">
        <p>Total Pembayaran</p>
        <h2>Rp <?php echo e(number_format($invoice->total_amount, 0, ',', '.')); ?></h2>
        <span class="status-badge <?php echo e($invoice->status); ?>"><?php echo e(ucfirst($invoice->status)); ?></span>
    </div>

    
    <div class="invoice-detail-body">
        <div class="detail-item">
            <span>Nomor Tagihan</span>
            <strong><?php echo e($invoice->invoice_number); ?></strong>
        </div>
        <div class="detail-item">
            <span>Jatuh Tempo</span>
            <strong><?php echo e($invoice->due_date->translatedFormat('d F Y')); ?></strong>
        </div>
        <div class="detail-item">
            <span>Nama Pelanggan</span>
            <strong><?php echo e($invoice->user->name); ?></strong>
        </div>
    </div>

</div> 


<button id="pay-button" class="pay-now-btn" style="width:100%; margin-top:20px;">Bayar Sekarang</button><?php /**PATH C:\Users\UsEr\Documents\0 Mata Kuliah\Tugas Akhir\Project Pamsimas\PAMSIMAS_User\resources\views/invoices/_payment_form.blade.php ENDPATH**/ ?>