clean up db method files
This commit is contained in:
parent
a675af5cf8
commit
b087ea673e
6 changed files with 199 additions and 143 deletions
19
custom_ui/api/db/estimates.py
Normal file
19
custom_ui/api/db/estimates.py
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue