?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/application/views/Training/ |
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/sgms/application/views/Training/edit_proposal_row.php |
<?php $item_list = $this->mastermodel->getdatas('items'); $itemname=$this->mastermodel->get_data_srow('items',$info['itemid'],'item_id'); ?> <td> <select id="item_list_edit" onchange="editfillitemvaluesspare('_edit',this.value,$($(this).closest('tr')).attr('id'))"> <option value="">Selects</option> <?php foreach ($item_list as $item) { ?> <option <?php if($item['item_id']==$info['itemid']){ echo "selected";} ?> value="<?=$item['item_id'].'~'.$item['item_code'];?>"> <?=$item['item_name'];?> </option> <?php } ?> </select> <input type="hidden" class="field text medium" value="<?=$info['itemid']?>" id="item_id_edit"> </td> <td> <input type="text" value="<?=$info['partno']?>" class="field text medium" id="item_code_edit" readonly> </td> <td> <input type="text" value="<?=$info['quantity']?>" class="field text medium auto" onfocus="checknumeric()" id="quantity_edit" onblur="editsettotal('_edit',$($(this).closest('tr')).attr('id'));"> </td> <td> <input type="text" value="<?=$info['price']?>" class="field text medium auto" onfocus="checknumeric()" id="price_edit" onblur="editsettotal('_edit',$($(this).closest('tr')).attr('id'))" > </td> <td> <input type="text" value="<?=$info['totalamt']?>" class="field text medium auto" readonly id="total_edit"> </td> <td> <input type="text" value="<?=$info['job']?>" class="field text large" onfocus="suggestjobcodepurchase('_edit',$($(this).closest('tr')).attr('id'))" id="job_edit" /> <input type="hidden" value="<?=$info['job_id']?>" class="field text medium" id="job_id_edit" /> </td> <td > <a class="btn_no_text btn ui-state-default ui-corner-all tooltip" title="Save" onclick="return savepurchasepaymentrow($($(this).closest('tr')).attr('id'))" href="#"> <span class="ui-icon ui-icon-circle-check"></span></a> <a class="btn_no_text btn ui-state-default ui-corner-all tooltip" title="Cancel" onclick="return savepurchasepaymentrow($($(this).closest('tr')).attr('id'))" href="#"> <span class="ui-icon ui-icon-circle-close"></span></a> </td>