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/rabbithabit.com/public_html/application/views/veritrans_result/ |
Upload File : |
<div class="customer_info_box container"> <div class="row" style="display: flex; justify-content: center;"> <div class="col-md-6 col-sm-12" style="border:1px solid black; margin-top: 30px; padding-bottom: 40px;"> <div class="row customer_info_box_head"> <div class="col-sm-12"> <br> <div class="padding:10px;"> <h3><?= ucwords(lang('order'))?></h3> <hr style="border-top: 1px solid black; margin-top: 0.5rem"> </div> <br> <div class="summary_info_box_in" class="padding:10px; border:1px solid black; border-top:none;"> <span><?= ucwords(lang('confirmation_order'));?>: <?= $order_id; ?> <?= ucwords(lang('email_to'));?> <b><?= $email; ?></b>.</span><br><br> <span><?= ucwords(lang('sum'));?> IDR <?= number_format($grand_total); ?></span><br><br> <span><?= ucwords(lang('pay_with_midtrans'))?>.</span><br> <br> </div> </div> </div> <div class="row" > <div class="col-6"> <p style="margin: 0px;font-weight: bold;"><?= ucwords(lang('order_no'))?>: <?= $order_id; ?></p> <input type="hidden" name="order_id" value="<?= $order_info->id_orders; ?>"> <?php $order_date = strtotime($order_info->order_date); $new_date = date('j/m/Y', $order_date); ?> <p style="margin: 0px;font-weight: bold;"><?= ucwords(lang('order_date'))?>: <?= $new_date; ?></p> </div> <div class="col-6"> <p style="margin: 0px;font-weight: bold;""><?= ucwords(lang('order_status'))?>:</p> <?php if ($order_info->payment_status == 1) : ?> <p style="margin: 0px;"><?= ucwords(lang('not_paid_yet'))?></p> <?php elseif ($order_info->payment_status == 3) : ?> <p style="margin: 0px;"><?= ucwords(lang('paid'))?></p> <?php elseif ($order_info->payment_status == 6) : ?> <p style="margin: 0px;"><?= ucwords(lang('partial_paid'))?></p> <?php elseif ($order_info->payment_status == 4) : ?> <p style="margin: 0px;"><?= ucwords(lang('delivered'))?></p> <?php elseif($order_info->payment_status == 2) : ?> <p style="margin: 0px;"><?= ucwords(lang('cancel'))?></p> <?php endif; ?> </div> </div> <br> <div class="row"> <div class="col-sm-12"> <p style="margin: 0px;font-weight: bold;"><?= ucwords(lang('recipient'))?>:</p> <p style="margin: 0px;"> <?php if($order_info->recipient_name != null): ?> <?= ucwords($order_info->recipient_name); ?><br> <?php endif; ?> <?= ucwords($order_info->address); ?><br><?= ucwords($order_info->subdistrict); ?>. <?= ucwords($order_info->district); ?>. <?= ucwords($order_info->province); ?>. <?= ucwords($order_info->postcode); ?> </p> </div> </div> <br> <p style="margin: 0px;font-weight: bold;"><?= ucwords(lang('products'))?>:</p> <hr style="border-top: 1px solid black; margin-top: 0.5rem"> <?php $orders_detail = $this->db->select('*')->from('orders_detail')->where('orders_id', $order_info->id_orders)->get()->result(); ?> <?php foreach ($orders_detail as $order_detail) : ?> <div class="row" style="margin-bottom: 5px;"> <div class="col-4"> <?php $this->load->helper('product'); $thumbnail = get_product_thumbnail($order_detail->product_id); ?> <img src="<?= $thumbnail['image1']; ?>" alt="" /> </div> <div class="col-4"> <p style="margin: 0px;"><?= $order_detail->item_name; ?> <br> <?php //get SKU $sku = $this->db->select('sku')->from('product_details')->where('id', $order_detail->item_id)->get()->row()->sku; ?> <?= $sku; ?><br> <?php if($order_detail->is_backorder == 'yes') : ?> Indent<br><?= $order_detail->indent_message; ?> <?php endif; ?></p> </div> <div class="col-4"> <p style="margin-bottom: 10px;"> <?= ucwords(lang('qty'))?>: <?= $order_detail->quantity; ?> pcs<br> @IDR <?= number_format($order_detail->item_price); ?> </p> </div> </div> <?php endforeach; ?> <?php if (isset($tax)) : ?> <p><?= ucwords(lang('tax'))?> 10%: IDR <?= number_format($tax); ?></p> <?php endif; ?> <p style="text-align: right; border-top: 1px solid black; padding-top: 5px;"><?= ucwords(lang('shipping_fee'))?> : <?php if($order_info->shipping_fee == 0) : ?> <?= ucwords(lang('free_shipping'))?> <?php else : ?> <?php if($order_info->indent_shipping_fee > 0) : ?> <?php if($order_info->indent_shipping_fee == $order_info->shipping_fee) : ?> TBC <?php else : ?> IDR <?= number_format($order_info->shipping_fee - $order_info->indent_shipping_fee); ?> <?php endif; ?> <?php else : ?> IDR <?= number_format($order_info->shipping_fee); ?> <?php endif; ?> <?php endif; ?> </p> <?php if($order_info->free_shipping_fee > 0) : ?> <p style="text-align: right"><?= ucwords(lang('shipping_fee_discount'))?> : IDR <?= number_format($order_info->free_shipping_fee); ?> </p> <?php endif; ?> <?php if ($order_info->minus_reward != 0) : ?> <p style="text-align: right"><?= ucwords(lang('redeem_point'))?>: <?= $order_info->minus_reward; ?> <?= ucwords(lang('points'))?><br> IDR -<?= $order_info->minus_reward_amount; ?> </p> <?php endif; ?> <?php if ($order_info->redeemed_voucher_code != null) : ?> <p style="text-align: right"><?= ucwords(lang('voucher_discount'))?>: <?= $order_info->redeemed_voucher_code; ?> <?php if ($order_info->redeemed_voucher_type == 'amount') : ?> IDR -<?= number_format($order_info->redeemed_voucher_amount); ?> <?php endif; ?> <?php if ($order_info->redeemed_voucher_type == 'percentage') : ?> <?= number_format($order_info->redeemed_voucher_value); ?>%. IDR -<?= number_format($order_info->redeemed_voucher_amount); ?> <?php endif; ?> </p> <?php endif; ?> <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> <br> <span><?= ucwords(lang('thank_for_order'))?>.</span><br><br> <a class="btn btn-primary btn-buy" href="<?= base_url(); ?>" style="float: none;background-color: #000 color:white;"><?= ucwords(lang('continue_shopping'))?></a> </div> </div> </div> <br><br>