<?php include 'header.php';?>


<style>

/* Chrome, Safari, Edge, Opera */

input::-webkit-outer-spin-button,

input::-webkit-inner-spin-button {

  -webkit-appearance: none;

  margin: 0;

}



/* Firefox */

input[type=number] {

  -moz-appearance: textfield;

}

</style>
<div class="content-page">
<div class="content">
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="page-header-title">

<div class="clearfix"></div>
</div>
</div>
</div>

<div class="row">
<div class="col-md-4">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Vendor	</h3>
</div>
<form name="chkForm" id="chkForm" action="insert_vendorpo.php"  method="post" >
<input type="hidden" name="customer_id" value="<?php echo $_REQUEST['customer_id'];?>"/> 
<input type="hidden" name="proforma_id" value="<?php echo $_REQUEST['proforma_id'];?>"/> 
<input type="hidden" name="call_follow_up_id" value="<?php echo $_REQUEST['call_follow_up_id'];?>"/> 
<div class="panel-body">
<div class="row">
<div class="col-sm-12 col-xs-12">
<div class="m-t-20">
<div class="form-group">
<label><b>Vendor Name</b></label>



<select name="vendor_id"  id="countries-list01"   onChange="if (this.value=='other_vendor_id'){this.form['other_vendor_id'].style.visibility='visible'}else {this.form['other_vendor_id'].style.visibility='hidden'};" class="form-control">

<option value="">Select Vendor</option>
<?php
$qrycust = "select * from vendor_master";
$recust = mysqli_query($conn,$qrycust);
while($row=mysqli_fetch_array($recust))
	  { 
$vendor_name = $row['vendor_name'];
$vendor_id = $row['vendor_id'];
?>
<option value="<?php echo $vendor_id?>"><?php echo $vendor_name?></option>
<?php } ?>

<option value="other_vendor_id">Other Vendor</option>
</select>
<input type="text" class="form-control" name="other_vendor_id" style="visibility:hidden;"/>
</div>
</div>
</div>



</div>

<div class="clearfix"></div>
<div class="row">
<div class="col-sm-12 col-xs-12">
<div class="m-t-20">
<button class="button btn btn-large btn-primary btn-madmin" value="1" name="add">Submit </button>  </div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>


<footer class="footer"> &copy; <?php echo $company_namecnp ?></footer>
</div>
<script src="vendors/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script type="text/javascript" src="vendors/bower_components/moment/min/moment-with-locales.min.js"></script>
<script src="vendors/bower_components/mjolnic-bootstrap-colorpicker/dist/js/bootstrap-colorpicker.min.js"></script>
<script src="vendors/bower_components/switchery/dist/switchery.min.js"></script>
<script src="vendors/bower_components/select2/dist/js/select2.full.min.js"></script>
<script src="vendors/bower_components/bootstrap-select/dist/js/bootstrap-select.min.js"></script>
<!-- Bootstrap Tagsinput JavaScript -->
<script src="vendors/bower_components/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js"></script>
<!-- Bootstrap Touchspin JavaScript -->
<script src="vendors/bower_components/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.min.js"></script>
<!-- Multiselect JavaScript -->
<script src="vendors/bower_components/multiselect/js/jquery.multi-select.js"></script>
<!-- Bootstrap Switch JavaScript -->
<script src="vendors/bower_components/bootstrap-switch/dist/js/bootstrap-switch.min.js"></script>
<!-- Bootstrap Datetimepicker JavaScript -->
<script type="text/javascript" src="vendors/bower_components/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js"></script>
<!-- Form Advance Init JavaScript -->
<script src="dist/js/form-advance-data.js"></script>
<!-- Slimscroll JavaScript -->
<script src="dist/js/jquery.slimscroll.js"></script>
<!-- Fancy Dropdown JS -->
<script src="dist/js/dropdown-bootstrap-extended.js"></script>
<!-- Owl JavaScript -->
<script src="vendors/bower_components/owl.carousel/dist/owl.carousel.min.js"></script>
<!-- Init JavaScript -->
<script src="dist/js/init.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<!-- Select2 JavaScript -->
<script src="vendors/bower_components/select2/dist/js/select2.full.min.js"></script>
<!-- Bootstrap Select JavaScript -->
<script src="vendors/bower_components/bootstrap-select/dist/js/bootstrap-select.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/modernizr.min.js"></script>
<script src="assets/js/detect.js"></script>
<script src="assets/js/fastclick.js"></script>
<script src="assets/js/jquery.slimscroll.js"></script>
<script src="assets/js/jquery.blockUI.js"></script>
<script src="assets/js/waves.js"></script>
<script src="assets/js/wow.min.js"></script>
<script src="assets/js/jquery.nicescroll.js"></script>
<script src="assets/js/jquery.scrollTo.min.js"></script>
<script src="assets/js/app.js"></script>
</body><!-- Mirrored from themesdesign.in/xadmino/form-elements.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 03 Feb 2021 12:05:08 GMT -->
</html>