?
Current Path : /home1/savoy/public_html/savoyglobal.net/rms/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/rms/application/views/inventory/add_stock_maintenance.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $inventory=$this->mastermodel->getdatas('inventory','inventory_id','','inventory_id'); ?> <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_maintenance','view_stock_maintenance','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Creating new Stock maintenance</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('inventory/addininventory/insert_stock_maintenance/view_stock_maintenance/1',$attributes); ?> <div class="grid_6"> <div class="box"> <div class="header"> <span></span> </div> <div class="content no-padding"> <div class="section _100"> <label> Subject </label> <div> <input name="stock_maintenance_subject" id="stock_maintenance_subject" type="text" class="required"> </div> </div> <div class="section _100"> <label> Date </label> <div> <input name="stock_maintenance_date" id="date" type="dateonly" class="required"> </div> </div> </div> </div> </div> <div class="grid_12"> <div class="box"> <div class="content no-padding"> <div class="header main"> Stock Maintenance Details </div> <table class="table"> <tr> <th style="width: 20%;">Item</th> <th>Quantity</th> <!-- <th>Price</th> <th>Discount</th> --> <th>Remarks</th> <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th> </tr> <tr> <td> <select style="margin-top: 10;" name="stock_maintenance_inventory_id" id="stock_maintenance_inventory_id" class="required chzn-done" > <option value="">Select</option> <?php foreach ($inventory as $list) { ?> <option value="<?=$list['inventory_id']?>"><?=$list['inventory_type']?></option> <?php } ?> </select> </td> <td><input class="required number w_90" type="text" name="stock_maintenance_inventory_qty" id="stock_maintenance_inventory_qty"/></td> <td><textarea name="stock_maintenance_remarks" id="stock_maintenance_remarks"/></textarea></td> <td> <img style="float: right; vertical-align: top;"src="<?=base_url()?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/> </td> </tr> </table> </div> </div> </div> <div class="grid_12"> <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> </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();?>