add warranties page
This commit is contained in:
parent
44d47db0ad
commit
2828c0f9c8
6 changed files with 347 additions and 66 deletions
|
|
@ -39,6 +39,12 @@ class Api {
|
|||
return data;
|
||||
}
|
||||
|
||||
static async getWarrantyData() {
|
||||
const data = DataUtils.dummyWarrantyData;
|
||||
console.log("DEBUG: API - getWarrantyData 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