Added an API call for on site meetings for a dial.

This commit is contained in:
rocketdebris 2026-01-24 17:08:55 -05:00
parent 00f6d69482
commit fbc51301f3
2 changed files with 61 additions and 46 deletions

View file

@ -0,0 +1,15 @@
import frappe
from custom_ui.db_utils import build_success_response, build_error_response
@frappe.whitelist()
def get_incomplete_bids(company):
print("Getting Incomplete Bids")
try:
filters = {'status': "Unscheduled", 'company': company}
count = frappe.db.count("On-Site Meeting", filters=filters)
print("Incomplete Bids:", count)
return build_success_response([count])
except Exception as e:
return build_error_response(str(e), 500)

View file

@ -178,8 +178,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:23.661458", "modified": "2026-01-24 11:42:38.816045",
"module": "Custom UI", "module": "Custom UI",
"name": "Customer Task Link", "name": "Customer Task Link",
"naming_rule": "", "naming_rule": "",
@ -396,8 +396,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:23.730085", "modified": "2026-01-24 11:42:38.886150",
"module": "Custom UI", "module": "Custom UI",
"name": "Address Task Link", "name": "Address Task Link",
"naming_rule": "", "naming_rule": "",
@ -550,8 +550,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:23.799282", "modified": "2026-01-24 11:42:38.953132",
"module": "Custom", "module": "Custom",
"name": "Lead Companies Link", "name": "Lead Companies Link",
"naming_rule": "", "naming_rule": "",
@ -768,8 +768,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:23.867486", "modified": "2026-01-24 11:42:39.023393",
"module": "Custom", "module": "Custom",
"name": "Address Project Link", "name": "Address Project Link",
"naming_rule": "", "naming_rule": "",
@ -986,8 +986,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:23.934979", "modified": "2026-01-24 11:42:39.093123",
"module": "Custom", "module": "Custom",
"name": "Address Quotation Link", "name": "Address Quotation Link",
"naming_rule": "", "naming_rule": "",
@ -1204,8 +1204,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:24.001835", "modified": "2026-01-24 11:42:39.163081",
"module": "Custom", "module": "Custom",
"name": "Address On-Site Meeting Link", "name": "Address On-Site Meeting Link",
"naming_rule": "", "naming_rule": "",
@ -1422,8 +1422,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:24.069255", "modified": "2026-01-24 11:42:39.236784",
"module": "Custom", "module": "Custom",
"name": "Address Sales Order Link", "name": "Address Sales Order Link",
"naming_rule": "", "naming_rule": "",
@ -1576,8 +1576,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:24.137117", "modified": "2026-01-24 11:42:39.305461",
"module": "Custom", "module": "Custom",
"name": "Contact Address Link", "name": "Contact Address Link",
"naming_rule": "", "naming_rule": "",
@ -1730,8 +1730,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:24.201857", "modified": "2026-01-24 11:42:39.376523",
"module": "Custom", "module": "Custom",
"name": "Lead On-Site Meeting Link", "name": "Lead On-Site Meeting Link",
"naming_rule": "", "naming_rule": "",
@ -2332,8 +2332,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:24.288443", "modified": "2026-01-24 11:42:39.472141",
"module": "Selling", "module": "Selling",
"name": "Quotation Template", "name": "Quotation Template",
"naming_rule": "", "naming_rule": "",
@ -2830,8 +2830,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:24.372116", "modified": "2026-01-24 11:42:39.556506",
"module": "Selling", "module": "Selling",
"name": "Quotation Template Item", "name": "Quotation Template Item",
"naming_rule": "", "naming_rule": "",
@ -2984,8 +2984,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:24.439961", "modified": "2026-01-24 11:42:39.624602",
"module": "Custom UI", "module": "Custom UI",
"name": "Customer Company Link", "name": "Customer Company Link",
"naming_rule": "", "naming_rule": "",
@ -3138,8 +3138,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:24.506463", "modified": "2026-01-24 11:42:39.690715",
"module": "Custom UI", "module": "Custom UI",
"name": "Customer Address Link", "name": "Customer Address Link",
"naming_rule": "", "naming_rule": "",
@ -3292,8 +3292,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:24.575135", "modified": "2026-01-24 11:42:39.758626",
"module": "Custom UI", "module": "Custom UI",
"name": "Customer Contact Link", "name": "Customer Contact Link",
"naming_rule": "", "naming_rule": "",
@ -3446,8 +3446,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:24.644548", "modified": "2026-01-24 11:42:39.825642",
"module": "Custom", "module": "Custom",
"name": "Address Contact Link", "name": "Address Contact Link",
"naming_rule": "", "naming_rule": "",
@ -3600,8 +3600,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:24.712407", "modified": "2026-01-24 11:42:39.896330",
"module": "Custom", "module": "Custom",
"name": "Customer On-Site Meeting Link", "name": "Customer On-Site Meeting Link",
"naming_rule": "", "naming_rule": "",
@ -3754,8 +3754,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:24.786735", "modified": "2026-01-24 11:42:39.967073",
"module": "Custom", "module": "Custom",
"name": "Customer Project Link", "name": "Customer Project Link",
"naming_rule": "", "naming_rule": "",
@ -3908,8 +3908,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:24.856324", "modified": "2026-01-24 11:42:40.037175",
"module": "Custom", "module": "Custom",
"name": "Customer Quotation Link", "name": "Customer Quotation Link",
"naming_rule": "", "naming_rule": "",
@ -4062,8 +4062,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:24.924254", "modified": "2026-01-24 11:42:40.106626",
"module": "Custom", "module": "Custom",
"name": "Customer Sales Order Link", "name": "Customer Sales Order Link",
"naming_rule": "", "naming_rule": "",
@ -4216,8 +4216,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:24.990458", "modified": "2026-01-24 11:42:40.174670",
"module": "Custom", "module": "Custom",
"name": "Lead Address Link", "name": "Lead Address Link",
"naming_rule": "", "naming_rule": "",
@ -4370,8 +4370,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:25.058368", "modified": "2026-01-24 11:42:40.246628",
"module": "Custom", "module": "Custom",
"name": "Lead Contact Link", "name": "Lead Contact Link",
"naming_rule": "", "naming_rule": "",
@ -4524,8 +4524,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:25.124946", "modified": "2026-01-24 11:42:40.318639",
"module": "Custom", "module": "Custom",
"name": "Lead Quotation Link", "name": "Lead Quotation Link",
"naming_rule": "", "naming_rule": "",
@ -4678,8 +4678,8 @@
"make_attachments_public": 0, "make_attachments_public": 0,
"max_attachments": 0, "max_attachments": 0,
"menu_index": null, "menu_index": null,
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7", "migration_hash": "c40d7d206c7d4601cdb57fde7ab57c12",
"modified": "2026-01-22 11:05:25.193024", "modified": "2026-01-24 11:42:40.390663",
"module": "Custom", "module": "Custom",
"name": "Address Company Link", "name": "Address Company Link",
"naming_rule": "", "naming_rule": "",