This commit is contained in:
venbatechnologies@gmail.com 2018-09-17 14:10:37 +05:30
parent 139f5b8d6d
commit bd4c255af5
2 changed files with 22 additions and 0 deletions

View File

@ -527,6 +527,16 @@ $scope.dayBookApprovalAccess = '';
if (res === true) {
// alert(id);
// alert(stuId);
if(reason == '')
{
alert('Please Enter Reason for Deletion');
return false;
}
else{
var deleteFeePayableDetails = {
method: 'POST',
url: apiPoint.url + 'deleteDayBookFeePayableDetails/',
@ -547,6 +557,7 @@ $scope.dayBookApprovalAccess = '';
swal(" ", response.data.message, "error");
}
});
}
}
});
}

View File

@ -518,6 +518,15 @@ $scope.dayBookApprovalAccess = '';
if (res === true) {
// alert(id);
// alert(stuId);
if(reason == '')
{
alert('Please Enter Reason for Deletion');
return false;
}
else{
var deleteFeePayableDetails = {
method: 'POST',
url: apiPoint.url + 'deleteDayBookFeePayableDetails/',
@ -538,6 +547,8 @@ $scope.dayBookApprovalAccess = '';
swal(" ", response.data.message, "error");
}
});
}
}
});
}