<?php if ($trx->de_status == 'sukses'):?>
<div class="panel-body">
  <div class="alert alert-success">Pembayaran berhasil diselesaikan.</div>
</div>
<?php else:?>
<div class="panel-body">
  <div class="table-responsive">
    <table class="table table-striped">
      <tbody>
        <tr><td>Jumlah</td><td><?php echo format_uang2($trx->de_amount);?></td></tr>
        <tr><td>Fee</td><td><?php echo format_uang2(floor($trx->de_amount * 3 / 100 + 2500));?></td></tr>
        <tr><td>Total</td><td><strong><?php echo format_uang2($trx->de_amount + floor($trx->de_amount * 3 / 100 + 2500));?></strong></td></tr>
      </tbody>
    </table>
  </div>
  <div>
    <ul style="padding-left: 15px;">
      <li>Pembayaran berlaku s/d <?php echo format_tanggal($trx->de_tanggal + (3600 * $deposit->time));?>.</li>
    </ul>
  </div>
</div>
<div class="panel-footer">
  <a href="<?php echo site_url('payment/duitku/deposit/'.$trx->de_id);?>" class="btn btn-primary btn-block" id="submit-confirm"><i class="fa fa-money"></i> Bayar Sekarang </a>
</div>
<?php endif;?>