Compare commits
50 Commits
2587b41e24
...
9a92ee5181
| Author | SHA1 | Date |
|---|---|---|
|
|
9a92ee5181 | |
|
|
f75ffc63d3 | |
|
|
58b946779f | |
|
|
7f91058abd | |
|
|
7167acc89a | |
|
|
0ba4d18a9c | |
|
|
6ed3352dff | |
|
|
6901d03b71 | |
|
|
18524b4f8c | |
|
|
298eda122e | |
|
|
325a85a52e | |
|
|
562e525e9b | |
|
|
2a5d4aeba7 | |
|
|
9a8250c9a2 | |
|
|
7291a7939c | |
|
|
9467c1b548 | |
|
|
ffcfa741f9 | |
|
|
f5895b181f | |
|
|
4b0bc7f015 | |
|
|
e63513ce6b | |
|
|
ff727011f1 | |
|
|
ff13f8a66e | |
|
|
b9b8ee4b7a | |
|
|
9b82c41cbd | |
|
|
27a58aec8e | |
|
|
37e1860aa0 | |
|
|
db7c63ee24 | |
|
|
4962d0fab3 | |
|
|
f3ee87f237 | |
|
|
294a373483 | |
|
|
c8a4608bfd | |
|
|
e925318cb6 | |
|
|
ce696fbad2 | |
|
|
f66e642583 | |
|
|
3730455260 | |
|
|
9baa0b3ede | |
|
|
bfeb6544a6 | |
|
|
a288460378 | |
|
|
6b324292eb | |
|
|
bd32eb9007 | |
|
|
1e60a546e6 | |
|
|
6675e7fb66 | |
|
|
a3436d1554 | |
|
|
30586d0f83 | |
|
|
cfa18b6ddc | |
|
|
84b5cdaa34 | |
|
|
49a7099e26 | |
|
|
9ad02e7246 | |
|
|
c8f8a49f4c | |
|
|
b81d17bcc0 |
|
|
@ -309,7 +309,6 @@ 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');
|
||||
|
||||
|
|
@ -320,7 +319,6 @@ 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,
|
||||
|
|
@ -347,7 +345,6 @@ 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
|
||||
}));
|
||||
|
|
|
|||
|
|
@ -219,7 +219,7 @@
|
|||
</td>
|
||||
<td t-esc="line['check_out']">
|
||||
</td>
|
||||
<td t-esc="line['working_hours']">
|
||||
<td t-esc="line['worked_hours']">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
|
|||
Loading…
Reference in New Issue