Upload files field added and add supplier pages modified
This commit is contained in:
parent
1dbce9f443
commit
21b8e4c280
@ -185,8 +185,7 @@ $(function() {
|
||||
});
|
||||
|
||||
function resetphoto()
|
||||
{
|
||||
|
||||
{
|
||||
$("#photo").src("");
|
||||
}
|
||||
|
||||
@ -325,9 +324,9 @@ function onlyAlphabets(evt) {
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 pad"><span>Martial Status</span>
|
||||
<select id="MartialStatus" name="MartialStatus" type="text" required placeholder="Martial status" class="form-control">
|
||||
<option value="-1">Select Martial Status</option>
|
||||
<div class="col-md-6 pad"><span>Marital Status</span>
|
||||
<select id="MartialStatus" name="MartialStatus" type="text" required placeholder="Marital status" class="form-control">
|
||||
<option value="-1">Select Marital Status</option>
|
||||
<?php
|
||||
if(!empty($Martial))
|
||||
{
|
||||
@ -524,9 +523,12 @@ function onlyAlphabets(evt) {
|
||||
<input type="text" id="addinfo" name="addinfo" placeholder="Additional Information" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-12">
|
||||
<span class="control-label">Select File(s)</span>
|
||||
<input id="input" name="input" type="file" class="file" multiple data-show-upload="false" data-show-caption="true"style="width:100%;padding: 0.35%;">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Command -->
|
||||
|
||||
|
||||
@ -1,216 +1,4 @@
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<center> ADD NEW SUPPLIER DETAILS</center>
|
||||
|
||||
</h1>
|
||||
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
<div style="text-align:right;">
|
||||
<a href="<?php echo base_url() ?>supplierListing" class="btn btn-primary" value="Back"/>Back</a>
|
||||
</div>
|
||||
<br/>
|
||||
<div class="row">
|
||||
<!-- left column -->
|
||||
<div class="col-md-12">
|
||||
<!-- general form elements -->
|
||||
|
||||
|
||||
|
||||
<div class="box box-primary">
|
||||
|
||||
<!-- form start -->
|
||||
|
||||
<form role="form" id="addsupplier" action="<?php echo base_url() ?>addNewsupplier" method="post" role="form">
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form">
|
||||
<label for="PAN">PAN</label>
|
||||
<input type="text" class="form-control" id="PAN" name="PAN" style="text-transform:uppercase" onchange="validatePAN()"title="please correct enter the pan number"maxlength="10">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form-group">
|
||||
<label for="SupplierName">Supplier Name</label>
|
||||
<input type="text" class="form-control " id="SupplierName" onchange="validatesuppliername()"name="SupplierName" maxlength="128" >
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form-group">
|
||||
<label for="Address2">Address</label>
|
||||
<input type="text" class="form-control required" id="Address" name="Address" maxlength="250"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form-group">
|
||||
<label for="ContactNumber">Contact Number</label>
|
||||
<input type="text" class="form-control" pattern="^\d{10,11}$" id="number" title="please enter valid phone number" name="ContactNumber" minlength="10" maxlength="11">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form-group">
|
||||
<label for="AlternateContactNumber">Alternate Contact Number</label>
|
||||
<input type="tel" class="form-control" pattern="^\d{10,11}$" id="Number" name="AlternateContactNumber" minlength="10" maxlength="11">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form-group">
|
||||
<label for="EmailAddress">Email Address</label>
|
||||
<input type="email" class="form-control required email" id="EmailAddress" onchange="validateEmail()"name="EmailAddress" maxlength="128">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form-group">
|
||||
<label for="Exiseregistration">Exise Registration</label>
|
||||
<input type="text" class="form-control required" id="Exiseregistration" name="Exiseregistration" minlength="10" maxlength="10">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form-group">
|
||||
<label for="TIN">TIN</label>
|
||||
<input type="text" class="form-control required" id="TIN" pattern="^\d{2}-\d{7}$"name="TIN" minlength="10" maxlength="10">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form">
|
||||
<label for="GSTNo">GST No</label>
|
||||
<input type="text" class="form-control " id="GSTNo" name="GSTNo" maxlength="10">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form">
|
||||
<label for="Range">GSTRange</label>
|
||||
<input type="text" class="form-control " id="Range" name="GSTRange" "maxlength="10">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form">
|
||||
<label for="CollectrateAddress">Colletrate Address</label>
|
||||
<input type="text" class="form-control " id="CollectrateAddress" name="CollectrateAddress" maxlength="255">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form">
|
||||
<label for="UANumber">UA Number</label>
|
||||
<input type="text" class="form-control " pattern="^\d{12}$" id="UANumber" name="UANumber" maxlength="12">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<div class="row">
|
||||
<div class="col-md-offset-5 col-md-3 col-xs-offset-5 col-xs-3">
|
||||
<h4><u>Payment terms </u></h4>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<label for="payablefrom">Payable From</label>
|
||||
<select class="form-control required" id="PaymentTerms" name="PaymentTerms">
|
||||
<option >Select Payment method</option>
|
||||
<?php
|
||||
if(!empty($payment))
|
||||
{
|
||||
foreach ($payment as $rl)
|
||||
{
|
||||
?>
|
||||
<option value="<?php echo $rl->ConfigValue ?>"><?php echo $rl->ConfigValue ?></option>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 col-xs-6">
|
||||
<div class="form">
|
||||
<label for="PaymentDays">Payment Date</label><br/>
|
||||
<span> Before</span>
|
||||
<input type="radio" name="PaymentDays" value="before"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form">
|
||||
|
||||
<span> After</span>
|
||||
<input type="radio" name="PaymentDays" value="after"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 col-xs-6">
|
||||
<div class="form">
|
||||
<label for="PayableAT">Payable AT</label>
|
||||
<input type="text" class="form-control required" id="PayableAT" name="PayableAT" >
|
||||
<input type="hidden" value="<?php echo $name;?>" class="form-control required" id="Createdby" name="Createdby" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div><!-- /.box-body -->
|
||||
|
||||
<div class="box-footer" style="text-align:right">
|
||||
<input type="submit" class="btn btn-primary" value="Submit" />
|
||||
<input type="reset" class="btn btn-primary" value="Reset" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<?php
|
||||
$this->load->helper('form');
|
||||
$error = $this->session->flashdata('error');
|
||||
if($error)
|
||||
{
|
||||
?>
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<?php echo $this->session->flashdata('error'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php
|
||||
$success = $this->session->flashdata('success');
|
||||
if($success)
|
||||
{
|
||||
?>
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<?php echo $this->session->flashdata('success'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<?php echo validation_errors('<div class="alert alert-danger alert-dismissable">', ' <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button></div>'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
<script>
|
||||
//Call to ajax existing PAN
|
||||
$('#PAN').change(function() {
|
||||
|
||||
@ -254,59 +42,334 @@ function validateEmail() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function blockKeyPress(evt)
|
||||
{
|
||||
var charCode = (evt.which) ? evt.which : evt.keyCode;
|
||||
alert(charCode);
|
||||
if(charCode == 8 || charCode == 46 )
|
||||
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
function isNumberKey(evt)
|
||||
{
|
||||
var charCode = (evt.which) ? evt.which : evt.keyCode;
|
||||
if (charCode != 46 && charCode > 31
|
||||
&& (charCode < 48 || charCode > 57))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
//PAN Validate
|
||||
function validatePAN() {
|
||||
var reg = /(?=.*[A-Za-z]).{5,}(?=.*[0-9]).{4,}(?=.*[A-Za-z]).{1,}$/;
|
||||
|
||||
var PAN = $('#PAN').val();
|
||||
if(PAN != "")
|
||||
var PAN = $('#panno').val();
|
||||
|
||||
if(PAN != '')
|
||||
{
|
||||
if (reg.test(PAN) == false)
|
||||
{
|
||||
alert('Please Enter Valid PAN Number');
|
||||
return (false);
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
//Validate Supplier Name
|
||||
function validatesuppliername() {
|
||||
var reg = /^[A-Za-z ]{3,30}$/;
|
||||
|
||||
var suppliername = $('#SupplierName').val();
|
||||
if(suppliername != "")
|
||||
{
|
||||
if (reg.test(suppliername) == false)
|
||||
{
|
||||
alert('Please Enter Valid Supplier Name');
|
||||
return (false);
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
function validatenumbers() {
|
||||
var reg = /^(\([0-9]{10}\)/;
|
||||
|
||||
var number = $('#number').val();
|
||||
if(number != "")
|
||||
{
|
||||
if (reg.test(number) == false)
|
||||
{
|
||||
alert('Please Enter Valid Number');
|
||||
return (false);
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if (reg.test(PAN) == false)
|
||||
{
|
||||
alert('Please Enter Valid PAN Number');
|
||||
return (false);
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function getMobileValidation() {
|
||||
var contactNumber = $('#ContactNumber').val().length;
|
||||
if(contactNumber < 10)
|
||||
{
|
||||
alert('Please Enter valid Contact Number');
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
function getValidEmergencyNumber() {
|
||||
var contactNumber = $('#emergencycontactnumber').val().length;
|
||||
if(contactNumber < 10)
|
||||
{
|
||||
alert('Please Enter valid Emergency Contact Number');
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
function validateEmail() {
|
||||
var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
|
||||
|
||||
var email = $('#emailid').val();
|
||||
|
||||
if(email != '')
|
||||
{
|
||||
if (reg.test(email) == false)
|
||||
{
|
||||
alert('Please Enter Valid Email Address');
|
||||
return (false);
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
alert('Please Enter email id');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function onlyAlphabets(evt) {
|
||||
var charCode;
|
||||
if (window.event)
|
||||
charCode = window.event.keyCode; //for IE
|
||||
else
|
||||
charCode = evt.which; //for firefox
|
||||
if (charCode == 32) //for <space> symbol
|
||||
return true;
|
||||
if (charCode > 31 && charCode < 65) //for characters before 'A' in ASCII Table
|
||||
return false;
|
||||
if (charCode > 90 && charCode < 97) //for characters between 'Z' and 'a' in ASCII Table
|
||||
return false;
|
||||
if (charCode > 122) //for characters beyond 'z' in ASCII Table
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
legend{
|
||||
color:#00c0ef ! important;
|
||||
}
|
||||
|
||||
.pad{
|
||||
padding-bottom:1%;
|
||||
}
|
||||
.badge
|
||||
{
|
||||
color:red; background-color:#fff;
|
||||
}
|
||||
</style>
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
<center> ADD NEW SUPPLIER DETAILS</center>
|
||||
|
||||
</h1>
|
||||
|
||||
</section>
|
||||
|
||||
<section class="content">
|
||||
<div style="text-align:right;">
|
||||
<a href="<?php echo base_url() ?>supplierListing" class="btn btn-primary" value="Back"/>Back</a>
|
||||
</div>
|
||||
<br/>
|
||||
<div class="row">
|
||||
<!-- left column -->
|
||||
<div class="col-md-12">
|
||||
<!-- general form elements -->
|
||||
|
||||
|
||||
<div class="box box-primary">
|
||||
|
||||
<!-- form start -->
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-md-offset-1" style="border:3px solid #3c8dbc;">
|
||||
<form class="form-horizontal" role="form" id="addsupplier" action="<?php echo base_url() ?>addNewsupplier" method="post" role="form">
|
||||
<fieldset>
|
||||
|
||||
<!-- Form Name -->
|
||||
<legend>Supplier Information</legend>
|
||||
|
||||
<div class="col-md-3 pad">
|
||||
<span for="SupplierName">Supplier Name</span><span class="badge">*</span>
|
||||
<input type="text" name="SupplierName" onkeypress="return onlyAlphabets(event);" maxlength="100" id="supplierName" placeholder="Supplier Name" class="form-control" required>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 pad">
|
||||
<span for="ContactNumber">Contact Number</span><span class="badge">*</span>
|
||||
<input type="text" name="ContactNumber" onchange="return getMobileValidation();" onkeypress="return event.charCode >= 48 && event.charCode <= 57" id="ContactNumber" required placeholder="Contact Number" pattern="(.){10,10}" maxlength="10" class="form-control">
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 pad">
|
||||
<span for="AlternateContactNumber">Alternate Contact Number</span>
|
||||
<input type="text" name="AlternateContactNumber" onchange="return getMobileValidation();" onkeypress="return event.charCode >= 48 && event.charCode <= 57" id="AlternateContactNumber" placeholder="Alternate Contact Number" pattern="(.){10,10}" maxlength="10" class="form-control">
|
||||
</div>
|
||||
|
||||
<div class="col-md-3 pad">
|
||||
<span for="EmailAddress">Email ID</span><span class="badge">*</span>
|
||||
<input type="email" name="emailid" id="emailid" required placeholder="Email ID" maxlength="100" class="form-control">
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Address Section -->
|
||||
<!-- Form Name -->
|
||||
<legend>Address Details</legend>
|
||||
<!-- Text input-->
|
||||
<div class="form-group">
|
||||
<div class="col-md-12"><span for="Address2">Address</span><span class="badge">*</span>
|
||||
<input type="text" class="form-control required" placeholder="Address" id="Address" name="Address" maxlength="250" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Text input-->
|
||||
<div class="form-group">
|
||||
<div class="col-md-12"><span for="CollectrateAddress">Colletrate Address</span><span class="badge">*</span>
|
||||
<input type="text" class="form-control " id="CollectrateAddress" placeholder="Colletrate Address" name="CollectrateAddress" maxlength="255" required>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Text input-->
|
||||
|
||||
|
||||
<legend>Tax Related Data</legend>
|
||||
<!-- Text input-->
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-4">
|
||||
<span for="PAN">PAN</span>
|
||||
<input type="text" id="panno" maxlength="10" name="panno" placeholder="PAN Number" onchange="validatePAN();" class="form-control">
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<span for="UANumber">UA Number</span>
|
||||
<input type="text" class="form-control" placeholder="UA Number"pattern="^\d{12}$" id="UANumber" name="UANumber" maxlength="12">
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<span for="Exciseregistration">Excise Registration</span>
|
||||
<input type="text" class="form-control required" placeholder="Excise Registration" id="Exciseregistration" name="Exciseregistration" minlength="10" maxlength="10">
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<span for="TIN">TIN</span>
|
||||
<input type="text" class="form-control required" placeholder="TIN Number" id="TIN" pattern="^\d{2}-\d{7}$"name="TIN" minlength="10" maxlength="10">
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<span for="GSTNo">GST Number</span>
|
||||
<input type="text" class="form-control " id="GSTNo" placeholder="GST Number" name="GSTNo" maxlength="10">
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<span for="Range">GST Range</span>
|
||||
<input type="text" class="form-control " id="Range" placeholder="GST Range" name="GSTRange" maxlength="10">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<legend>Payment Details</legend>
|
||||
<!-- Text input-->
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-3">
|
||||
<span for="payablefrom">Payable From</span>
|
||||
<select class="form-control required" id="PaymentTerms" name="PaymentTerms">
|
||||
<option >Select Payment method</option>
|
||||
<?php
|
||||
if(!empty($payment))
|
||||
{
|
||||
foreach ($payment as $rl)
|
||||
{
|
||||
?>
|
||||
<option value="<?php echo $rl->ConfigValue ?>"><?php echo $rl->ConfigValue ?></option>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<span for="PayableAT">Payable AT</span>
|
||||
<input type="text" placeholder="Payable AT" class="form-control required" id="PayableAT" name="PayableAT">
|
||||
</div>
|
||||
|
||||
<div class="col-md-3"><span>Payment Date</span><br/>
|
||||
<label class="radio-inline"><input type="radio" name="before">Before</label>
|
||||
<label class="radio-inline"><input type="radio" name="after">After</label>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-3 col-md-offset-9">
|
||||
<div class="pull-right">
|
||||
<input type="reset" id="reset" onclick="resetphoto();" class="btn btn-info" value="Reset" />
|
||||
<input type="submit" onclick="validate();" class="btn btn-primary">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div><!-- /.col-lg-12 -->
|
||||
</div><!-- /.row -->
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<?php
|
||||
$this->load->helper('form');
|
||||
$error = $this->session->flashdata('error');
|
||||
if($error)
|
||||
{
|
||||
?>
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<?php echo $this->session->flashdata('error'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php
|
||||
$success = $this->session->flashdata('success');
|
||||
if($success)
|
||||
{
|
||||
?>
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<?php echo $this->session->flashdata('success'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<?php echo validation_errors('<div class="alert alert-danger alert-dismissable">', ' <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button></div>'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@ -485,9 +485,9 @@ function ValidatePassport()
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 pad"><span>Martial Status</span>
|
||||
<select id="MartialStatus" name="MartialStatus" type="text" required placeholder="Martial status" class="form-control">
|
||||
<option value="<?php echo $MartialStatus ; ?>"><?php echo $MartialStatus; ?></option>
|
||||
<div class="col-md-6 pad"><span>Marital Status</span>
|
||||
<select id="MartialStatus" name="MartialStatus" type="text" required placeholder="Marital status" class="form-control">
|
||||
<option value="<?php echo $MaritalStatus ; ?>"><?php echo $MartialStatus; ?></option>
|
||||
<?php
|
||||
if(!empty($MartialList))
|
||||
{
|
||||
@ -683,7 +683,12 @@ function ValidatePassport()
|
||||
<input type="text" id="addinfo" name="addinfo" placeholder="Additional Information" class="form-control" value="<?php echo $Remarks ; ?>">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-12">
|
||||
<span class="control-label">Select File(s)</span>
|
||||
<input id="input" name="input" type="file" class="file" multiple data-show-upload="false" data-show-caption="true"style="width:100%;padding: 0.35%;">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Command -->
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
<div class="row">
|
||||
<div class="col-xs-12 text-right">
|
||||
<div class="form-group">
|
||||
<a class="btn btn-info" href="<?php echo base_url(); ?>addsupplier">AddNew</a>
|
||||
<a class="btn btn-info" href="<?php echo base_url(); ?>addsupplier">Add New Supplier</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
12
assets/js/upload.min.js
vendored
Normal file
12
assets/js/upload.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user