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/laciasmara.com/public_html/shop/application/views/admin/special_price/ |
Upload File : |
<div class="row"> <div class="col-sm-12"> <p><a href="<?= base_url('admin/reseller_page'); ?>"><i class="fa fa-arrow-left" aria-hidden="true"></i> Kembali ke Reseller page</a></p><br> <h2>Special Price List</h2> <?= $this->session->flashdata('success'); //to display success message ?> <?= $this->session->flashdata('result'); //to display result message ?> </div><!-- end class="col-sm-12" --> </div> <!-- end row --> <!-- <div class="row" style="border:1px solid #ddd;"> <div class="col-sm-12"> <h3>Unggah Voucher Massal</h3> <p> DATA PRODUK UNGGULAN. SETUJUI HANYA CSV. HARAP SIMPAN EXCEL AS CSV. PENGGUNAAN CSV ~ SEBAGAI PEMISAHAN. UNDUH CONCEL SAMPEL <a style="color:blue;" href="<?= base_url('uploads/special_price.xls'); ?>">DISINI</a>.</p> --> <!-- <p>PS: Products data with same SKU will be updated.</p> --> <!-- <?php $attributes = array( 'name' => 'uploadcsv', 'id' => 'uploadcsv' ); ?> <?= form_open_multipart('admin/special_price/upload_special_price', $attributes); ?> <table> <tr> <td> UNGGAH DATA special_price CSV: </td> <td> <div class="form-group"> <input style="float:left; width:60%;" type="file" class="form-control" name="userfile" id="userfile" align="center"/><input type="submit" name="upload_csv" class="btn btn-info" value="UPLOAD"> </div> </td> </tr> </table> </form> --> <!-- <p> Catatan: Selama Upload, harap tunggu hingga proses selesai. Jangan tutup jendela saat ini.</p> --> <!-- </div> --><!-- end class="col-sm-12" --> <!-- <?= form_close(); ?> --> <!-- </div> --> <!-- end row; --> <div class="row"> <?= form_open('admin/special_price'); ?> <div class="col-sm-5 col-xs-6"> <input class="form-control" type="text" placeholder="Isi nama special price atau kode special price" name="voucher" <?php if (isset($keyword)) : ?> value="<?= ucwords($keyword); ?>" <?php endif; ?>> </div><!-- end class="col-sm-8" --> <div class="col-sm-3 col-xs-6"> <input class="btn btn-primary form-control" type="submit" name="search_voucher" value="CARI SPECIAL PRICE"> </div><!-- end class="col-sm-6" --> <?= form_close(); ?> </div> <!-- end row --> <div class="row"> <div class="col-sm-12"> <p><?= anchor('admin/special_price/add', '<i class="fa fa-plus" aria-hidden="true"></i> TAMBAH Special price BARU'); ?></p> </div><!-- end class="col-sm-12" --> </div> <!-- end row --> <div class="row"> <div class="col-sm-12"> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th>Nama</th> <th>Tipe Promo</th> <th>Produk Detail ID</th> <th>Customer ID</th> <th>Harga Khusus</th> <th>Tanggal Pembuatan</th> <th>Tanggal kadaluarsa</th> <th>Lihat</th> <th>Hapus</th> </tr> </thead> <tbody> <?php if (count($resellers_special_price)) : ?> <?php foreach ($resellers_special_price as $special_price) : ?> <tr> <td><?= ucfirst($special_price->resellers_special_price_name); ?></td> <td> <?= ucfirst($special_price->resellers_special_price_type); ?> </td> <td> <?= ucfirst($special_price->productpromo); ?> </td> <td> <?= ucfirst($special_price->customerpromo); ?> </td> <td> <?= ucfirst($special_price->discount_value); ?> </td> <td><?= ucfirst($special_price->created_date); ?></td> <td> <?php if ($special_price->expired_date == NULL) { echo 'tak terbatas'; } else { echo ucfirst($special_price->expired_date); } ?> </td> <td><?= bt_edit('admin/special_price/edit/' . $special_price->id_resellers_special_price); ?></td> <td><?= bt_delete('admin/special_price/delete/' . $special_price->id_resellers_special_price); ?></td> </tr> <?php endforeach; ?> <?php else : ?> <tr> <td colspan="3">Belum ada Special Price dibuat</td> </tr> <?php endif; ?> </tbody> </table> </div> </div> </div> <div class="row"> <div class="col-sm-12"> <?php if (isset($use_pagination)) : ?> <?php //create pagination... echo '<p style="text-align:center;">' . $this->pagination->create_links() . '</p>'; ?> <?php endif; ?> </div><!-- end class="col-sm-12" --> </div> <!-- end row -->