FIX_CD_ADD : RV
This commit is contained in:
parent
d22d2d192e
commit
640afbeb07
@ -81,7 +81,7 @@
|
||||
</div>
|
||||
|
||||
<div id="cdButtonWrapper" class="form-group text-right m-b-0">
|
||||
<button class="btn btn-primary waves-effect waves-light mr-1" id="btnSubmit">Submit</button>
|
||||
<button class="btn btn-primary waves-effect waves-light mr-1" id="cd_master_btn_Submit">Submit</button>
|
||||
<!-- <button type="button" class="btn btn-secondry waves-effect waves-light mr-1" data-dismiss="modal" aria-hidden="true">Close</button> -->
|
||||
</div>
|
||||
</form>
|
||||
@ -129,10 +129,10 @@
|
||||
if(res.status == true){
|
||||
toastr.warning(res.message, 'warning');
|
||||
// $('#cd_ac_no').val('');
|
||||
$('#btnSubmit').prop('disabled',true);
|
||||
$('#cd_master_btn_Submit').prop('disabled',true);
|
||||
return;
|
||||
}
|
||||
$('#btnSubmit').prop('disabled',false);
|
||||
$('#cd_master_btn_Submit').prop('disabled',false);
|
||||
},
|
||||
error: function (xhr, status, error) {
|
||||
console.error(xhr.responseText);
|
||||
@ -283,7 +283,7 @@
|
||||
$('#opening_bal').val('');
|
||||
// $('#CDMasterForm').attr('action', '<?php echo base_url('master/cash_deposite/create');?>');
|
||||
$('#title').html('Add Opening Amount');
|
||||
$('#btnSubmit').html('Submit');
|
||||
$('#cd_master_btn_Submit').html('Submit');
|
||||
|
||||
var myModal = new bootstrap.Modal(document.getElementById('con-close-modal'));
|
||||
myModal.show();
|
||||
|
||||
@ -288,7 +288,7 @@ table.dataTable thead th {
|
||||
}else{
|
||||
$('#opening_bal').prop("disabled", true)
|
||||
}
|
||||
$('#btnSubmit').html('Update');
|
||||
$('#cd_master_btn_Submit').html('Update');
|
||||
|
||||
},
|
||||
error: function (xhr, status, error) {
|
||||
|
||||
@ -147,6 +147,7 @@
|
||||
<label for="cd_ac_no">CD Account Number<span id="tpa_danger" class="text-danger">*</span></label>
|
||||
<select class="form-control" id="cd_ac_no" name="cd_ac_no" required>
|
||||
<option value="">Select CD Account Number</option>
|
||||
<option value="add_cd">+ Add New CD</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user