<script type="text/javascript" src="<?php echo base_url();?>assets/js/temp_inventory_vendor.js"></script>
<aside class="right-side">
    <section class="content-header">
        <div class="title_bar">
            <h1 class="major_txt_color">Inventory – Supplier / Vendor Edit</h1>
            <div class="breadcrumb_container"><?php echo breadcrumb_links();?></div>
        </div>
    </section>
    <section class="content">
        <div class="row">
            <div class="col-xs-12">
                <form action="<?php echo $form_action;?>" method="post" name="inventory_vendor_form" enctype="multipart/form-data" method="post">    
                    <input type="hidden" name="hidden_id" value="<?php echo $inv_item->id;?>" />    
                    <div class="box box-danger">
                        <div class="box-body">
                            <ul class="error_container"></ul>
                            <div class="col-xs-12">
                                <div class="col-md-6">
                                	<div class="row">
                                    	<div class="col-md-12"> 
                                            <div class="form-group float-clear inv_item">
                                                <input type="text" class="form-control" name="companyName" placeholder="Company Name" value="<?php echo $inv_vendor->ven_company;?>" style="min-width: 100%;" />
                                            </div>
                                            
                                            <div class="form-group float-clear">
                                                <input type="text" class="form-control" name="contactName" placeholder="Contact Person Name" value="<?php echo $inv_vendor->ven_contact_name;?>" style="min-width: 100%;"/>
                                            </div>
                                            
                                            <div class="form-group float-clear">
                                                <input type="text" class="form-control" name="contactNo" placeholder="Contact Phone No" value="<?php echo $inv_vendor->ven_contact_no;?>" style="min-width: 100%;"/>
                                            </div>
                                            
                                            <div class="form-group float-clear">
                                                <input type="text" class="form-control" name="faxNo" placeholder="Fax Number" style="min-width: 100%;" value="<?php echo $inv_vendor->ven_fax_no;?>"/>
                                            </div>
                                            
                                            <div class="form-group float-clear">
                                                <input type="text" class="form-control" name="emailId" placeholder="Email Id" style="min-width: 100%;" value="<?php echo $inv_vendor->ven_email_id;?>"/>
                                            </div>
                                            
                                            <div class="form-group float-clear">
                                                <textarea class="form-control" name="address" style="min-width: 100%;" placeholder="Address"><?php echo $inv_vendor->ven_address;?></textarea>
                                            </div>
                                            
                                            <div class="form-group float-clear">
                                                <select name="status" class="form-control" style="min-width: 100%;">
                                                	<option value=""> Select Status </option>
                                                    <option value="1" <?php if($inv_vendor->status == 1){?>selected="selected"<?php } ?>> Active </option>
                                                    <option value="0" <?php if($inv_vendor->status == 0){?>selected="selected"<?php } ?>> Inactive </option>
                                                </select>
                                            </div>
                                            
                                            <div class="form-actions float-clear">
                                                <input type="submit" name="submit" value="Update" class="btn btn-primary" style="padding: 5px 50px;"/>
                                                <input class="btn btn-primary reset" type="reset" value="Reset" style="padding: 5px 50px;"/>                            
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <div class="box-footer form-actions float-clear">&nbsp;</div>
                    </div><!-- /.box -->
                </form>
            </div><!-- /.col-xs-12 -->
        </div><!-- /.row -->
    </section><!-- /.content -->
</aside>