IT Team Daily Work Report
—
ERPNext API Connection
The dashboard calls your custom whitelisted method and reads the message object: timesheet, employee_name, from_date, and time_logs (description, hours, task, completed).
Request sent:
Works with a single timesheet in
GET <your-url>?date=YYYY-MM-DD with header Authorization: token key:secret when keys are given.Works with a single timesheet in
message (your current sample) or a list — return "message": [ {…}, {…} ] later for multiple employees, no page change needed.