diff --git a/india_compliance/gst_india/doctype/purchase_reconciliation_tool/purchase_reconciliation_tool.js b/india_compliance/gst_india/doctype/purchase_reconciliation_tool/purchase_reconciliation_tool.js index 6829c15a3..f7702249c 100644 --- a/india_compliance/gst_india/doctype/purchase_reconciliation_tool/purchase_reconciliation_tool.js +++ b/india_compliance/gst_india/doctype/purchase_reconciliation_tool/purchase_reconciliation_tool.js @@ -1368,7 +1368,7 @@ async function fetch_date_range(frm, field_prefix) { const from_date_field = field_prefix + "_from_date"; const to_date_field = field_prefix + "_to_date"; const period = frm.doc[field_prefix + "_period"]; - if (period == "Custom") return; + if (!period) return; const { message } = await frm.call("get_date_range", { period }); if (!message) return; diff --git a/india_compliance/gst_india/doctype/purchase_reconciliation_tool/purchase_reconciliation_tool.json b/india_compliance/gst_india/doctype/purchase_reconciliation_tool/purchase_reconciliation_tool.json index f6770defb..1801ce2d8 100644 --- a/india_compliance/gst_india/doctype/purchase_reconciliation_tool/purchase_reconciliation_tool.json +++ b/india_compliance/gst_india/doctype/purchase_reconciliation_tool/purchase_reconciliation_tool.json @@ -44,7 +44,6 @@ "fieldtype": "Column Break" }, { - "default": "This Fiscal Year", "fieldname": "purchase_period", "fieldtype": "Select", "label": "Purchase Period", @@ -69,7 +68,6 @@ "fieldtype": "Column Break" }, { - "default": "This Fiscal Year", "fieldname": "inward_supply_period", "fieldtype": "Select", "label": "Inward Supply Period", @@ -152,7 +150,7 @@ "index_web_pages_for_search": 1, "issingle": 1, "links": [], - "modified": "2023-09-14 12:57:00.756535", + "modified": "2023-10-12 16:20:03.501277", "modified_by": "Administrator", "module": "GST India", "name": "Purchase Reconciliation Tool",