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 :  /proc/self/root/var/www/kamariallee.com/public_html/application/views/admin/orders/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/var/www/kamariallee.com/public_html/application/views/admin/orders/view.php
<div class="row">
    <div class="col-sm-12">
        <p><a href="<?= base_url('admin/orders'); ?>"><i class="fa fa-arrow-left" aria-hidden="true"></i> Back to Orders Page</a></p><br>
        <h4>ORDER NO: <?php echo $order->id_orders; ?></h4>
        <h4> ORDER DATE: <?php echo date('j F Y', strtotime($order->order_date)); ?></h4>
        <?= $this->session->flashdata('success'); //to display success message ?> 
        <?= $this->session->flashdata('result'); //to display result message ?>
    </div> 
</div>  

<?= form_open(); ?>

<div class="row"> 
    <div class="col-sm-3">
        <p>Current Order Status</p>
    </div>

     <div class="col-sm-9"> 
         <?php
            if($order->payment_status == 0) {
                $options[0] = 'Not Paid';
                $options[1] = 'Paid';
                $options[2] = 'Cancel';
            }      

            if($order->payment_status == 1) {
                $options[1] = 'Paid';
                $options[3] = 'Product Sent';
                $options[2] = 'Cancel';
            }      
            if($order->payment_status == 2) {
                $options[2] = 'Cancel';
                $options[1] = 'Paid'; 
            }      
            if($order->payment_status == 3) {
                $options[3] = 'Product Sent';
                $options[2] = 'Cancel';
            }   

			echo form_dropdown('payment_status', $options, $order->payment_status, 'class="form-control changeOrderStatus"');
	        ?>

            <?php if ($order->payment_status == 1 || $order->payment_status== 3) : ?>
                <br>Courier Tracking Number (Enter below)<br> 
                <?php  echo form_input('no_resi', $order->no_resi); ?>  
                <br>
            <?php endif; ?>    

            <br>

            <span><?= form_submit('update', 'Change Order Status', 'class="btn btn-primary btn-success submitOrderStatus"'); ?></span>

            <script>
                $(document).ready(function() {
                    $('.submitOrderStatus').prop('disabled', true);
                    $('.changeOrderStatus').change(function() {
                        $('.submitOrderStatus').prop('disabled', false);
                    });
                });
            </script>
           
      <?= form_close(); ?>  
      <!-- <br><br>
      <p><a target="_blank" href="<?php echo base_url() . 'admin/orders/generate_invoice_pdf/' . $order->id_orders; ?>">DOWNLOAD INVOICE HERE</a></p> -->

    </div>
</div>   

<div class="row">
    <div class="col-sm-12">
        <div class="table-responsive">
            <table class="table table-striped">
                <?php if($order->payment_type == 'bank transfer'): ?>
                    <tr>
                        <td>PAYMENT TYPE</td>
                        <td>Bank Transfer (BCA)</td>	
                    </tr>
                 <?php endif; ?>
    
                <?php if($order->payment_type == 'creditcard'): ?>
                    <tr>
                        <td>PAYMENT TYPE</td>
                        <td>CREDIT CARD</td>	
                    </tr>	
                <?php endif; ?> 	

                 <?php if($order->payment_type == 'virtualaccount'): ?>
                    <tr>
                        <td>PAYMENT TYPE</td>
                        <td>VIRTUAL ACCOUNT</td>	
                    </tr>	
                <?php endif; ?> 	
                <tr>
                    <td>CUSTOMER CONTACT</td>
                    <td>
                        <?php if($customer) : ?>
                            <p> 
                                Name: <?php echo ucwords($customer->name);  ?><br>
                                Email: <?php echo $customer->email;  ?><br>
                                Phone: <?php echo $customer->phone;  ?> 
                            </p>   
                        <?php else : ?>
                            <p> 
                                Name: <?php echo ucwords($order->recipient_name);  ?><br>
                                Email: <?php echo $order->email;  ?><br>
                                Phone: <?php echo $order->phone;  ?> 
                            </p>   
                        <?php endif; ?>    
                         
                    </td>
                </tr>
   
            <tr>
                    <td>SHIPPING DETAILS</td>
                    <td>
                        <p> 
                        Recipient: <?php echo ucwords($order->recipient_name);  ?><br>
                        <?php echo ucwords($order->address);  ?><br>
                        <?php echo ucwords($order->district); ?>. <?php echo ucwords($order->subdistrict); ?><br>
                        <?php echo ucwords($order->province) . ' ' . $order->postcode; ?><br>
                        <?php echo 'Country: ' . $order->country . ' ' ; ?> <a style="text-decoration: underline;" href="http://en.wikipedia.org/wiki/ISO_3166-1_alpha-3" target="_blank">Check ISO country code</a><br>
                        <?php echo 'Phone: ' . $order->phone; ?><br>
                        </p>	
                    </td>
            </tr>
            <tr>
                    <td colspan="2">
                    <p>ORDER DETAILS</p>
                    
                    <table class="table" style="border: 1px solid black">
                        <tr>
                            <th style="border: 1px solid black">Item Name</th>
                            <th style="border: 1px solid black">Price</th>
                            <th style="border: 1px solid black">Quantity</th>
                            <th style="border: 1px solid black">Sub Total</th>
                        </tr>

                        <?php foreach ($order_details as $item) : ?>
                            <tr>
                                <td style="border: 1px solid black; width:600px">
                                    <strong><?= ucwords($item->item_name); ?></strong>
                                    <?php $attributes_arr = json_decode($item->attributes); ?>
                                    <br>
                                    SKU <?= $item->sku; ?>, Color <?= $attributes_arr->color; ?>, Size <?= $attributes_arr->size; ?>
                                    <?php if(isset($attributes_arr->chosenHeelsType)) : ?>
                                        <br>
                                        Heels Type: <?= $attributes_arr->chosenHeelsType; ?>. Rp <?= number_format($attributes_arr->chosenHeelsTypePrice, 0, ',', '.'); ?>
                                    <?php endif; ?>   
                                    <?php if(isset($attributes_arr->chosenHeelsHeight)) : ?>
                                        <br>
                                        Heels Height: <?= $attributes_arr->chosenHeelsHeight; ?>. Rp <?= number_format($attributes_arr->chosenHeelsHeightPrice, 0, ',', '.'); ?>
                                    <?php endif; ?>   
                                    <?php if(isset($attributes_arr->chosenPlatformStyle)) : ?>
                                        <br>
                                        Platform Style: <?= $attributes_arr->chosenPlatformStyle; ?>. Rp <?= number_format($attributes_arr->chosenPlatformStylePrice, 0, ',', '.'); ?>
                                    <?php endif; ?>  
                                    <?php if(isset($attributes_arr->chosenPlatformHeight)) : ?>
                                        <br>
                                        Platform Height: <?= $attributes_arr->chosenPlatformHeight; ?>. Rp <?= number_format($attributes_arr->chosenPlatformHeightPrice, 0, ',', '.'); ?>
                                    <?php endif; ?>  
                                    <?php if(isset($attributes_arr->chosenInitialEngraved)) : ?>
                                        <br>
                                        Initial Engraved: <?= $attributes_arr->chosenInitialEngraved; ?>. Design <?= $attributes_arr->chosenInitialEngravedImage; ?>. Rp <?= number_format($attributes_arr->chosenInitialEngravedPrice, 0, ',', '.'); ?>
                                    <?php endif; ?>  
                                    <?php if(isset($attributes_arr->greetingcard_text)) : ?>
                                        <br>
                                        Greeting Card: <?= $attributes_arr->greetingcard_text; ?>
                                        <br>
                                        Price: Rp <?= number_format($attributes_arr->greetingcard_price_int, 0, ',', '.'); ?>
                                    <?php endif; ?>   
                                </td> 
                                <td style="border: 1px solid black">IDR 
                                <?php echo number_format($item->item_price); ?></td>
                                <td style="border: 1px solid black"><?= $item->quantity; ?></td>
                                <td style="border: 1px solid black">
                                <?php echo number_format($item->subtotal); ?></td>
                            </tr>
                        <?php endforeach; ?>
                    </table>
                </td>
            </tr> 
    <?php if($order->ppn != 0) : ?>
        <tr>
            <td>TAX 10%</td>
            <td>IDR <?= number_format($order->ppn); ?></td>
        </tr>  
    <?php endif; ?>
    <tr>
        <td>SHIPPING : <?= ucfirst($order->shipping_type); ?></td>
        <td>IDR <?= number_format($order->shipping_fee); ?></td>
    </tr>  
    <?php if (!is_null($order->redeemed_voucher_code)) : ?>
        <tr>
            <td>VOUCHER CODE: <?= strtoupper($order->redeemed_voucher_code); ?></td> 
            <td>IDR -<?= number_format($order->redeemed_voucher_amount); ?></td>
        </tr>   
    <?php endif; ?>
    <?php if($order->minus_reward > 0) : ?>
        <tr>
            <td>REDEEM POINT REWARDS: <?= $order->minus_reward; ?> points</td> 
            <td>IDR -<?= number_format($order->minus_reward_amount); ?></td>
        </tr> 
    <?php endif; ?>
     <tr>
     	<td style="font-weight: bold;">TRANSFER AMOUNT</td>
 		<td style="font-weight: bold;">IDR <?php echo number_format($order->total_amount); ?>
 		</td> 
	</tr>   
    <?php if ($order->payment_confirm_details): ?>
        <tr>
            <td><br>PAYMENT CONFIRMATION</td>
            <td><br><?= $order->payment_confirm_details; ?>
        </tr>   
    <?php endif; ?>
    </table>
        </div>
    </div>
</div>    

https://t.me/RX1948 - 2025