add timesheets page and update homepage modules:
This commit is contained in:
parent
0c921a3897
commit
b70e08026d
4 changed files with 1235 additions and 30 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue