?
Current Path : /home1/savoy/public_html/savoyglobal.net/rms/application/views/master/ |
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/master/edit_vendor.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $location=$this->mastermodel->getdatas('location','location_id','asc','location_id'); ?> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('master','viewinmastersearch','search_vendor','view_vendor','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Updating vendor </h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('master/addinmaster/update_vendor/view_vendor/1',$attributes); ?> <div class="grid_6"> <div class="box"> <div class="header main">Vendor Details </div> <div class="content no-padding"> <div class="section _100"> <label>Vendor Name </label> <div> <input name="vendor_name" id="vendor_name" class="required" value="<?=$viewinfo->vendor_name?>"> </div> </div> <div class="section _100"> <label> Code </label> <div> <input name="vendor_code" id="vendor_code" readonly="readonly" value="<?=$viewinfo->vendor_code?>"> </div> </div> <div class="section _100"> <label>Address</label> <div> <textarea name="vendor_address" id="vendor_address"><?=$viewinfo->vendor_address?></textarea> </div> </div> <div class="section _100"> <label> Country </label> <div> <input name="vendor_country" id="vendor_country" value="<?=$viewinfo->vendor_country?>"> </div> </div> <div class="section _100"> <label> Location </label> <div style="margin-top: 6px;"> <select name="vendor_location" class="required" id="vendor_location"> <option value="">Select</option> <?php foreach ($location as $list) { ?> <option value="<?=$list['location_id'];?>"<?php if($list['location_id']==$viewinfo->vendor_location){echo "selected";} ?>><?=$list['location_name'];?></option> <?php } ?> </select> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main">Contact Details </div> <div class="content no-padding"> <div class="section _100"> <label> Office Phone </label> <div> <input name="vendor_phone" id="vendor_phone" value="<?=$viewinfo->vendor_phone?>" class="required"> </div> </div> <div class="section _100"> <label> Mobile </label> <div> <input name="vendor_mobile" id="vendor_mobile" value="<?=$viewinfo->vendor_mobile?>"class="required number"> </div> </div> <div class="section _100"> <label> Fax</label> <div> <input name="vendor_fax" id="vendor_fax" value="<?=$viewinfo->vendor_fax?>"> </div> </div> <div class="section _100"> <label> E Mail </label> <div> <input name="vendor_e_mail" id="vendor_e_mail" class="mail" value="<?=$viewinfo->vendor_e_mail?>"> </div> </div> <div class="section _100"> <label> Vendor Type </label> <div> <input name="vendor_type" id="vendor_type" value="<?=$viewinfo->vendor_type?>"> </div> </div> <div class="section _100"> <label>Remarks</label> <div> <textarea name="vendor_remarks" id="vendor_remarks"><?=$viewinfo->vendor_remarks?></textarea> </div> </div> <!-- </div>--> </div> </div> </div> <div class="grid_12"> <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> <input type="hidden" name="resfunction" id="resfunction" value="search_vendor"/> <input type="hidden" name="vendor_id" id="vendor_id" value="<?=$viewinfo->vendor_id?>"/> <input type="hidden" name="vendor_code" id="vendor_code" value="<?=$viewinfo->vendor_code?>"/> </div> <div class="actions-right"> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Update</button> </div> </div> <?php echo form_close();?> </div> </div>