?
Current Path : /home1/savoy/www/oscarerp.com/application/views/student/ |
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/www/oscarerp.com/application/views/student/cancellation_student_stock.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" id="stud_sub"> <thead id="stud_sub_head"> <tr> <td style="text-align: center;width: 6%;height: 30px;">Sl no</td> <td style="text-align: center;width: 20%;">inventory Name</td> <td style="text-align: center;">QTY</td> <td style="text-align: center;">Purchase Prize</td> <td style="text-align: center;">Return QTY</td> <td style="text-align: center;">Return Prize</td> </tr> </thead> <tbody id="stud_sub_body"> <?php $j=1; foreach ($students as $list) { $stock=$this->studentmodel->get_stock_details($list['sale_id']); foreach ($stock as $row) { ?> <tr> <input type="hidden" name="sale_id<?=$j?>" id="sale_id<?=$j?>" value="<?=$list['sale_id']?>" /> <td style="text-align: center;width: 120px;height: 30px;"><?=$j?></td> <td><?=$this->mastermodel->get_single_field_value('inventory','inventory_type','inventory_id',$row['inventory_type_id']);?></td> <td><input type="hidden" name="inventory_qty<?=$j?>" value="<?=$row['inventory_qty'];?>"/><?=$row['inventory_qty'];?></td> <td><input type="hidden" name="inventory_amount<?=$j?>" value="<?=$row['inventory_amount'];?>"/><?=$row['inventory_amount'];?></td> <input type="hidden" name="inventory_id<?=$j?>" id="inventory_id<?=$j?>" value="<?=$row['inventory_type_id']?>" /> <td><input type="text" name="return_qty<?=$j?>" class="number" id="return_qty<?=$j?>" onblur="check_sale_qty(this.value,this.id)"/></td> <td><input type="text" name="return_prize<?=$j?>" id="return_prize<?=$j?>"/></td> </tr> <?php $j++; } ?> <?php } ?> </tbody> </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>