Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /var/www/indolok.id/application/views/ |
Upload File : |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <style> .new_table{ width: 100%; } </style> <div class="w-grid"> <div class="container"> <div class="row"> <div class="col-sm-12"> <br><br> <h4><i class="fas fa-check-circle" style="color: #71ba4e"></i> SELAMAT PEMESANAN ANDA BERHASIL</h4> <div class="row" style="margin-bottom: 20px;"> <div class="col-md-6 col-sm-12" id="card-payment" style="margin: 10px;padding: 10px;border-radius: 7px;"> <p style="margin-bottom: 5px;">Konfirmasi email dengan Order No: <?= $order_id; ?> sudah diemailkan ke <b><?= $email; ?></b>.</p> <p style="margin-bottom: 5px;">Jumlah yang perlu dibayar adalah IDR <?= number_format($grand_total); ?></p> <p>Bank Transfer dikirimkan ke:</p> <?= $bank->bank; ?> <br> <p> Harap melakukan pembayaran dalam kurun waktu <b>24 Jam</b> dan melakukan konfirmasi pembayaran melalui <br> <a href="<?= base_url('payment_confirmation'); ?>">Konfirmasi Pembayaran</a> </p> <br> <div class="row" style="margin: 0px 0px 10px;"> <div class="col-12" style="border-top: 1px solid black;"></div> </div> <?php echo form_open('account/payment_confirmation'); ?> <div class="row" style="padding-left:15px;"> <div class="col-6"> <p style="margin: 0px;font-weight: bold;">Order No: <?= $order_id; ?></p> <input type="hidden" name="order_id" value="<?= $order_info->id_orders; ?>"> <p style="margin: 0px;font-weight: bold;">Order Date:</p> <p style="margin-bottom: 10px;"> <?php $order_date = strtotime($order_info->order_date); $new_date = date('j/m/Y', $order_date); echo $new_date; ?> </p> </div> <div class="col-6"> <p style="margin: 0px;font-weight: bold;">Order Status:</p> <?php if ($order_info->payment_status == 1) : ?> <p style="margin: 0px;"><?= ucwords(lang('not_paid_yet')); ?></p> <?php if ($order_info->payment_confirm == 0) : ?> <input type="submit" name="confirm_payment" value="<?= strtoupper(lang('confirm')); ?>" style="background:<?= $primary_colortheme; ?>; color:white; cursor: pointer; border:none; padding:2px; padding-left:5px; padding-right:5px;"> <?php else: ?> <input type="submit" name="confirm_payment" value="<?= strtoupper(lang('already_confirm')); ?>" style="background:<?= $primary_colortheme; ?>; color:white; cursor: pointer; border:none; padding:2px; padding-left:5px; padding-right:5px;"> <?php endif; ?> <?php elseif ($order_info->payment_status == 3) : ?> <p style="margin: 0px;"><?= ucwords(lang('paid')); ?></p> <?php elseif ($order_info->payment_status == 4) : ?> <p style="margin: 0px;"><?= ucwords(lang('product_sent')); ?></p> <?php elseif($order_info->payment_status == 2) : ?> <p style="margin: 0px;"><?= ucwords(lang('cancel')); ?></p> <?php endif; ?> </div> </div> <p style="margin: 0px;font-weight: bold;padding-left:15px;">Penerima:</p> <p style="margin: 0px;padding-left:15px;"> <?php if($order_info->recipient_name != null): ?> <?= ucwords($order_info->recipient_name); ?><br> <?php endif; ?> <?= ucwords($order_info->address); ?><br> <?= ucwords($order_info->district); ?>, <?= ucwords($order_info->subdistrict); ?><br><?= ucwords($order_info->province); ?> <?= ucwords($order_info->postcode); ?> </p> <p style="margin: 0px;font-weight: bold;padding-left:15px;">Nama Produk:</p> <?php $order_info_id = $order_info->id_orders; $this->db->select('*'); $this->db->from('orders_detail'); $this->db->where('orders_id', $order_info_id); $query = $this->db->get(); $orders_detail = $query->result(); ?> <?php foreach ($orders_detail as $order_detail) : ?> <div class="orderProduct" style="margin-bottom: 5px;padding-left:15px;"> <div class="col-4"> <?php $image = $this->db->select('image1')->from('products')->where('id_products',$order_detail->item_id)->get()->row()->image1; ?> <?php if($image != null): ?> <?php if (file_exists(FCPATH.'/uploads/product/small/' . $image)):?> <img src="<?= base_url('/uploads/product/small/'.$image);?>"> <?php else: ?> <img src="<?= base_url('/uploads/product/small/placeholder.jpg');?>"> <?php endif; ?> <?php else: ?> <img src="<?= base_url('/uploads/product/small/placeholder.jpg');?>"> <?php endif; ?> </div> <div class="col-4"> <p style="margin: 0px;"><?= $order_detail->item_name; ?></p> </div> <div class="col-4"> <p style="margin-bottom: 10px;"> Qty: <?= $order_detail->quantity; ?> pcs<br> <!-- @Rp <?= number_format($order_detail->item_price); ?> --> </p> </div> </div> <?php endforeach; ?> <p style="border-top: 1px solid black;margin: 0px;padding-top: 5px;font-weight: bold;text-align: right;"> Total: IDR <?= number_format($grand_total); ?> </p> <?php echo form_close(); ?> </div> </div> <h5>Thank you for your Order!</h5> <a class="btn btn-primary btn-buy" href="<?= base_url(); ?>" style="float: none">LANJUT BELANJA</a> <br><br> </div><!-- end col-sm-12--> </div><!-- end row--> </div><!-- end container --> </div> <div id="footer" >