uri->segment(3) == 'success') { echo "
Success Melakukan Konfirmasi pembayaran...
akan segera kami cek dan proses!
"; } else { $attributes = array('class' => 'form-horizontal', 'role' => 'form'); $ongk = $this->db->query("SELECT * FROM rb_penjualan where id_penjualan='$rows[id_penjualan]'")->row_array(); echo form_open_multipart('konfirmasi/index', $attributes); echo "
Masukkan No Invoice atau No Transaksi Terlebih dahulu!
"; } echo "
No Invoice "; if ($rows['kode_transaksi'] != '') { $total_amount = $total['total'] + $ongk['ongkir']; $discount = 0; if ($total['total'] >= 500000) { $discount = 0.1 * $total['total']; } $final_total = $total_amount - $discount; echo "
Total
Transfer Ke
Nama Pengirim
Tanggal Transfer
Bukti Transfer
"; echo form_close(); } ?>