add warranties page

This commit is contained in:
Casey Wittrock 2025-10-28 00:16:35 -05:00
parent 44d47db0ad
commit 2828c0f9c8
6 changed files with 347 additions and 66 deletions

View file

@ -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);