validation
This commit is contained in:
parent
08bfa3d1f4
commit
849b27e5ea
@ -171,6 +171,13 @@ function vaildateBeforeOpenModal()
|
||||
return false;
|
||||
}
|
||||
|
||||
else if($('#ExchangeRate').val() == 0)
|
||||
{
|
||||
alert('Please Enter the Exchange Rate');
|
||||
$('#ExchangeRate').focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
else if($('#PlaceOforigin').val()== '')
|
||||
{
|
||||
alert('Please Enter Place Of Origin');
|
||||
@ -439,7 +446,7 @@ else if($('#addsupplierreference').val()=='')
|
||||
<label>Exchange Rate On</label>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
$data = array('name' => 'Exchangerateon','value' => set_value('Exchangerateon',$CurrentDate),'id'=>'Exchangerateon', 'class' => 'form-control num' ,'required' => 'true', 'onkeypress'=>'return false;');
|
||||
$data = array('name' => 'Exchangerateon','value' => set_value('Exchangerateon',$CurrentDate),'id'=>'Exchangerateon', 'class' => 'form-control num' ,'required' => 'true' ,'onkeypress'=>'return false;');
|
||||
echo form_input($data);
|
||||
?>
|
||||
</div>
|
||||
@ -4802,6 +4809,11 @@ if(validate()&&Budgetcheck())
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$(function () {
|
||||
//$("#revenueTax").DataTable();
|
||||
$('#ImportTax').DataTable({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user