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/account/ |
Upload File : |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <!--make some space gap on top with menu--> <div class="banner" style="padding-top: 10px;"></div> <div class="container"> <div class="accountPage" style="padding-bottom:50px;"> <div class="myaccount_menu" style="border-right:1px solid #ccc;"> <?= Modules::run('myaccount_menu'); ?> </div><!-- end col-sm-2--> <div class="my_profile"> <h4>Penawaran Harga Saya</h4> <?= $this->session->flashdata('success'); //to display success message ?> <div class="table-responsive orderHistory hidden-xs-down"> <table class="table table-striped"> <thead> <tr> <th>No</th> <th>Tanggal</th> <th>No Ref</th> <th>Total (Rp)</th> <th>Sales</th> <th>Lihat Penawaran</th> <th>Lanjut Order</th> </tr> </thead> <?php $count = 0; ?> <?php foreach ($penawaran_harga as $item) : ?> <?php $count++; ?> <!-- Form Start --> <?php echo form_open('account/...'); ?> <tr> <td style="padding:3px; text-align: center;"><?= $count; ?></td> <td style="padding:3px;"> <?php $date = strtotime($item->time_added); $new_date = date('j/m/Y', $date); echo $new_date; ?> </td> <td><?= $item->no_penawaran_harga ;?></td> <td><?= number_format($item->sub_total);?></td> <td> <?php //get sales name $this->db->select('sales_name')->from('sales_list')->where('employee_id', $item->employee_id); $sales_name = $this->db->get()->row()->sales_name; echo ucwords($sales_name); ?> </td> <td style="text-align: center;"><a target="_blank" href="<?= base_url(). 'account/generate_penawaran_harga/' . $item->id; ?>"><i class="fa fa-eye"></i></a></td> <td><a class="btn btn-primary" href="<?= base_url() . 'account/penawaran_process_order/' . $item->id; ?>">LANJUT</a></td> </tr> <?php echo form_close(); ?> <?php endforeach; ?> </table> </div><!-- end class="table-responsive"> --> </div><!-- end col-sm-8--> </div><!-- end row--> </div><!-- end container -->