add timesheets page and update homepage modules:

This commit is contained in:
Casey 2025-10-28 00:53:05 -05:00
parent 0c921a3897
commit b70e08026d
4 changed files with 1235 additions and 30 deletions

View file

@ -45,6 +45,12 @@ class Api {
return data;
}
static async getTimesheetData() {
const data = DataUtils.dummyTimesheetData;
console.log("DEBUG: API - getTimesheetData result: ", data);
return data;
}
static async getDocsList(doctype, fields = []) {
const docs = await frappe.db.get_list(doctype, { fields });
console.log(`DEBUG: API - Fetched ${doctype} list: `, docs);