This commit is contained in:
MahanCh
2025-08-05 15:19:40 +03:30
parent 6d6ce93f74
commit 55dc4c891f

View File

@@ -2,14 +2,23 @@
$(document).ready(function () {
$('#WithoutRollCall').on('change', function () {
var workshopSetting=$('#workshopSettingSelect');
var nextStep3= $('#nextStep3');
var SelectList=$('.errorSelection');
if ($(this).is(':checked')) {
if(currentUrl.includes("/Client/Company/RollCall/EmployeeUploadPicture"))
{
console.log(currentUrl);
nextStep3.prop('disabled', true);
nextStep3.addClass('disable');
}
workshopSetting.val('0').trigger('change');;
workshopSetting.prop('disabled', true);
SelectList.addClass('disable');
} else {
workshopSetting.prop('disabled', false);
SelectList.removeClass('disable');
nextStep3.prop('disabled', false);
nextStep3.removeClass('disable');
}
});