fix create employee by client

This commit is contained in:
MahanCh
2025-07-15 15:39:32 +03:30
parent b1a5333a25
commit 2bdfdb366e
3 changed files with 95 additions and 89 deletions

View File

@@ -414,8 +414,9 @@ function saveFullData() {
var command = $('#create-form').serializeArray();
command.forEach(function (item) {
formData.append(item.name, item.value);
});
});
var groupId = $("#GroupId").val()
debugger;
formData.append("Command.CreateCustomizeEmployeeSettings.BreakTime.HasBreakTimeValue", $('#BreakTime').prop('checked') || $('#BreakTimeFirst').prop('checked') ? "true" : "false");
formData.append("Command.CreateCustomizeEmployeeSettings.BreakTime.BreakTimeValue", $("#TimeOnly").val());