clean up db method files

This commit is contained in:
Casey 2025-11-12 10:25:41 -06:00
parent a675af5cf8
commit b087ea673e
6 changed files with 199 additions and 143 deletions

View file

@ -0,0 +1,19 @@
import frappe, json
from custom_ui.db_utils import process_query_conditions, build_datatable_response, get_count_or_filters
# ===============================================================================
# ESTIMATES & INVOICES API METHODS
# ===============================================================================
@frappe.whitelist()
def upsert_estimate(data):
"""Create or update an estimate."""
# TODO: Implement estimate creation/update logic
pass
@frappe.whitelist()
def upsert_invoice(data):
"""Create or update an invoice."""
# TODO: Implement invoice creation/update logic
pass