From 67b2d3ab55f1264a65af514d4d614d3721448cf3 Mon Sep 17 00:00:00 2001 From: SamSys Date: Mon, 7 Apr 2025 23:02:43 +0330 Subject: [PATCH] GroupingRollCall fix mobile view proplem --- .../pages/RollCall/js/Grouping.js | 63 +++++++++---------- 1 file changed, 31 insertions(+), 32 deletions(-) diff --git a/ServiceHost/wwwroot/AssetsClient/pages/RollCall/js/Grouping.js b/ServiceHost/wwwroot/AssetsClient/pages/RollCall/js/Grouping.js index e9661a0a..0d0568c1 100644 --- a/ServiceHost/wwwroot/AssetsClient/pages/RollCall/js/Grouping.js +++ b/ServiceHost/wwwroot/AssetsClient/pages/RollCall/js/Grouping.js @@ -249,44 +249,43 @@ function loadEmployeeAjax(groupSettingId) { } htmlEmployee += `
-
-
-
- - ${indexEmployee++} - -
-
-
-
نام پرسنل:
-
-
نام پرسنل:
-
${itemEmployee - .name}
-
-
+
+
+
+ + ${indexEmployee++} + +
+
+
+
نام پرسنل:
+
+
نام پرسنل:
+
${itemEmployee.name}
+
+
-
-
نام پرسنل:
+
+
نوع ساعت کاری:
-
نام پرسنل:
+
نوع ساعت کاری:
`; - if (itemEmployee.workshopShiftStatus === 0) { - htmlEmployee += `منظم`; - } else if (itemEmployee.workshopShiftStatus === 1) { - htmlEmployee += `مختلط`; - } else { - htmlEmployee += `گردشی`; - } - htmlEmployee += `
+ if (itemEmployee.workshopShiftStatus === 0) { + htmlEmployee += `منظم`; + } else if (itemEmployee.workshopShiftStatus === 1) { + htmlEmployee += `مختلط`; + } else { + htmlEmployee += `گردشی`; + } + htmlEmployee += `
-
-
ساعت کاری:
-
-
ساعت کاری:
-
`; +
+
ساعت کاری:
+
+
ساعت کاری:
+
`; if (itemEmployee.workshopShiftStatus === 0) { itemEmployee.rollCallWorkshopShifts.forEach(function (itemEmployeeShifts) {