Compare commits

..

48 Commits

Author SHA1 Message Date
administrator 552518cfe1 Initial commit 2025-06-10 10:42:44 +05:30
administrator 6dbb39ae69 Initial commit 2025-06-10 10:42:44 +05:30
administrator d2c91f20dd Initial commit 2025-06-10 10:42:44 +05:30
administrator bc3fe02f96 Initial commit 2025-06-10 10:42:44 +05:30
administrator c3bfc9f84d Initial commit 2025-06-10 10:42:44 +05:30
administrator c4c921f3a3 Initial commit 2025-06-10 10:42:44 +05:30
administrator 206e9d6c3b Initial commit 2025-06-10 10:42:44 +05:30
administrator 16fcd6efb1 Initial commit 2025-06-10 10:42:44 +05:30
administrator b419913fe1 Initial commit 2025-06-10 10:42:44 +05:30
administrator fbc29e4ef1 Initial commit 2025-06-10 10:42:44 +05:30
administrator 912ffc4afc Initial commit 2025-06-10 10:42:44 +05:30
administrator 5c061a1bf1 Initial commit 2025-06-10 10:42:43 +05:30
administrator bfd79d42b8 Initial commit 2025-06-10 10:42:43 +05:30
administrator 6fb1047ea8 Initial commit 2025-06-10 10:42:43 +05:30
administrator 42a55eba7d Initial commit 2025-06-10 10:42:43 +05:30
administrator 41e1d5c76b Initial commit 2025-06-10 10:42:43 +05:30
administrator 0811863d41 Initial commit 2025-06-10 10:42:43 +05:30
administrator ce42a4c1e3 Initial commit 2025-06-10 10:42:43 +05:30
administrator 627b4fa799 Initial commit 2025-06-10 10:42:43 +05:30
administrator 0ee3943892 Initial commit 2025-06-10 10:42:43 +05:30
administrator 9be4174309 Initial commit 2025-06-10 10:42:43 +05:30
administrator 9b565b6746 pull commit 2025-06-10 10:42:43 +05:30
administrator 011d75baf1 Initial commit 2025-06-10 10:42:43 +05:30
Pranay 1c6cd50ea9 TimeOff Fix 2025-06-10 10:42:43 +05:30
Pranay 6cedda73ca time-off FIX 2025-06-10 10:42:43 +05:30
Pranay 653af0702d Recruitment Changes 2025-06-10 10:42:43 +05:30
Pranay a8c161d969 fix whatsapp 2025-06-10 10:42:43 +05:30
Pranay 6ac7199b55 update whatsapp code 2025-06-10 10:42:43 +05:30
administrator 7e5e49af9f Initial commit 2025-06-10 10:42:43 +05:30
administrator db49307dad Initial commit 2025-06-10 10:42:43 +05:30
administrator 51f19eea91 Initial commit 2025-06-10 10:42:43 +05:30
administrator 177f4c4161 Initial commit 2025-06-10 10:42:43 +05:30
administrator 4ec6c1a33b Initial commit 2025-06-10 10:42:43 +05:30
administrator aacf24880f Initial commit 2025-06-10 10:42:42 +05:30
administrator 88848197ee Initial commit 2025-06-10 10:42:42 +05:30
administrator 6dd301e365 Initial commit 2025-06-10 10:42:42 +05:30
administrator f98af9f9ee Initial commit 2025-06-10 10:42:42 +05:30
administrator b669ac988b Initial commit 2025-06-10 10:42:42 +05:30
administrator bb31c591fb Initial commit 2025-06-10 10:42:42 +05:30
administrator 5c37d6895e Initial commit 2025-06-10 10:42:42 +05:30
administrator 689d999c37 Initial commit 2025-06-10 10:42:42 +05:30
administrator 3a80c6cd8c Initial commit 2025-06-10 10:42:42 +05:30
administrator 2600cc713d Initial commit 2025-06-10 10:42:42 +05:30
administrator fce43c3721 Initial commit 2025-06-10 10:42:42 +05:30
administrator d3049e1368 Initial commit 2025-06-10 10:42:42 +05:30
administrator dce09293c5 Initial commit 2025-06-10 10:42:42 +05:30
administrator 5eb39bf12b Initial commit 2025-06-10 10:42:42 +05:30
administrator 2bd85ae939 Initial commit 2025-06-10 10:42:42 +05:30
2 changed files with 4 additions and 1 deletions

View File

@ -309,6 +309,7 @@ attendanceLines.forEach(line => {
const dateStr = createDate.toLocaleDateString('en-IN', { timeZone: 'Asia/Kolkata' });
const workedHours = parseFloat(line.worked_hours);
const working_hours = ''
const checkIn = new Date(line.check_in + 'Z');
const checkOut = new Date(line.check_out + 'Z');
@ -319,6 +320,7 @@ attendanceLines.forEach(line => {
groupedLines[dateStr] = {
create_date: dateStr,
worked_hours: workedHours,
working_hours: `${Math.floor(workedHours)}h ${Math.round((workedHours - Math.floor(workedHours)) * 60)}m`,
check_in: checkInStr,
check_out: checkOutStr,
earliestCheckIn: checkIn,
@ -345,6 +347,7 @@ attendanceLines.forEach(line => {
const groupedAttendance = Object.values(groupedLines).map(line => ({
create_date: line.create_date,
worked_hours: line.worked_hours.toFixed(2),
working_hours :line.working_hours,
check_in: line.check_in,
check_out: line.check_out
}));

View File

@ -219,7 +219,7 @@
</td>
<td t-esc="line['check_out']">
</td>
<td t-esc="line['worked_hours']">
<td t-esc="line['working_hours']">
</td>
</tr>
</tbody>