|
|
@@ -52,7 +52,7 @@ const GenerateMonthlyWorkHoursReport: React.FC<Props> = ({ staffs }) => { |
|
|
|
onSearch={async (query: any) => { |
|
|
|
console.log(query); |
|
|
|
let postData = { |
|
|
|
id: query.staffs.id, |
|
|
|
id: query.staff, |
|
|
|
yearMonth: dayjs().format("YYYY-MM").toString(), |
|
|
|
}; |
|
|
|
console.log(query.date.length > 0) |
|
|
|