Added Warranty Modal.

This commit is contained in:
rocketdebris 2025-11-07 16:46:12 -05:00
parent 9033ae9d79
commit 84bdff4613
4 changed files with 341 additions and 2 deletions

View file

@ -433,6 +433,13 @@ class Api {
return result
}
static async createWarranty(warrantyData) {
const payload = DataUtils.toSnakeCaseObject(warrantyData);
const result = await this.request(FRAPPE_UPSERT_INVOICE_METHOD, { data: payload });
console.log("DEBUG: API - Created Warranty: ", result);
return result
}
// External API calls
/**