?
Current Path : /home1/savoy/public_html/oscarerp.com/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/oscarerp.com/application/views/inventory/student_inventory.php |
<div class="grid_12" id="exam_sub"> <div class="box"> <div class="content no-padding"> <div class="header main"> Inventory Details </div> <table class="table" > <tr> <th> Sl No</th> <th> Inventory Type</th> <th> Quantity </th> <th> Amount </th> <th> Discount</th> <th> Return Quantity</th> </tr> <?php $j = 1; foreach ($inventory as $key => $list) { ?> <tr> <input type="hidden" name="sale_inventory_id<?=$j?>" id="sale_inventory_id<?=$j?>" value="<?=$list['sale_inventory_id']?>"/> <input type="hidden" name="sale_id<?=$j?>" id="sale_id<?=$j?>" value="<?=$list['sale_id']?>"/> <input type="hidden" name="inventory_id<?=$j?>" id="inventory_id<?=$j?>" value="<?=$list['inventory_type_id']?>"/> <td style="text-align: center;width: 120px;height: 30px;"><?= $j ?></td> <td><?= $this->mastermodel->get_single_field_value('inventory','inventory_type','inventory_id',$list['inventory_type_id']);?> </td> <td> <input type="hidden" name="inventory_qty<?=$j?>" id="inventory_qty<?=$j?>" value="<?=$list['inventory_qty']?>" /> <?= $list['inventory_qty'] ?> </td> <td><?= $list['inventory_amount'] ?></td> <td><?= $list['inventory_discount'] ?></td> <td> <input type="hidden" name="return_qty_old<?=$j?>" id="return_qty_old<?=$j?>" value="<?=$list['return_qty']?>"/> <input type="text" name="return_qty<?=$j?>" id="return_qty<?=$j?>" onchange="check_qty(this.value,this.id)" /> </td> </tr> <?php $j++; } ?> </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>