?
Current Path : /home1/savoy/public_html/savoyglobal.net/eduplus1/application/views/inventory/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/eduplus1/application/views/inventory/edit_stock.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('inventory','viewininventorysearch','search_stock','view_stock','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Updating Stock</h4> </div> </div> <?php $inventory = $this->mastermodel->getdatas('inventory', 'inventory_id'); $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('inventory/addininventory/update_stock/view_stock/1',$attributes); ?> <div class="grid_6"> <div class="box"> <div class="header main">Stock Details </div> <div class="content no-padding"> <div class="section _100"> <label>Inventory Type</label> <div> <select name="inventory_id" id="inventory_id" class="required chzn-done" > <option value=''>Select</option> <?php foreach($inventory as $list) { ?> <option value="<?=$list['inventory_id']?>" <?php if($list['inventory_id']==$viewinfo->inventory_type_id) { echo 'selected'; } ?>><?=$list['inventory_type']?></option> <?php } ?> </select> </div> </div> <div class="section _100"> <label>Quantity</label> <div> <input type="text" name="stock_qty" id="stock_qty" value="<?=$viewinfo->stock_qty?>" /> </div> </div> <div class="section _100"> <label>Discount</label> <div> <input type="text" name="discount" id="discount" value="<?=$viewinfo->discount?>" /> </div> </div> </div> <div class="actions"> <div class="actions-left"> <input type="reset" /> <input type="hidden" name="stock_id" id="stock_id" value="<?=$viewinfo->stock_id?>"/> </div> <div class="actions-right"> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </div> </div> </div> </div> <?php echo form_close();?>