From c039e6a51faf82b57b3450d0f50c96052d779bb0 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 12 Nov 2024 16:58:03 +0530 Subject: [PATCH] fix: Added standard filters for list view --- .../doctype/loan_adjustment/loan_adjustment.json | 3 ++- .../loan_balance_adjustment/loan_balance_adjustment.json | 7 ++++++- .../loan_management/doctype/loan_demand/loan_demand.json | 7 +++++-- .../doctype/loan_disbursement/loan_disbursement.json | 3 ++- .../doctype/loan_repayment/loan_repayment.json | 5 ++++- .../loan_repayment_schedule/loan_repayment_schedule.json | 8 +++++--- .../loan_security_deposit/loan_security_deposit.json | 8 +++++++- .../doctype/loan_write_off/loan_write_off.json | 4 +++- 8 files changed, 34 insertions(+), 11 deletions(-) diff --git a/lending/loan_management/doctype/loan_adjustment/loan_adjustment.json b/lending/loan_management/doctype/loan_adjustment/loan_adjustment.json index cb799247..6eb8825c 100644 --- a/lending/loan_management/doctype/loan_adjustment/loan_adjustment.json +++ b/lending/loan_management/doctype/loan_adjustment/loan_adjustment.json @@ -54,6 +54,7 @@ "fieldname": "foreclosure_type", "fieldtype": "Select", "in_list_view": 1, + "in_standard_filter": 1, "label": "Foreclosure Type", "options": "\nManual Foreclosure\nInternal Foreclosure" }, @@ -75,7 +76,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2024-08-14 13:04:56.626092", + "modified": "2024-11-12 16:56:39.695227", "modified_by": "Administrator", "module": "Loan Management", "name": "Loan Adjustment", diff --git a/lending/loan_management/doctype/loan_balance_adjustment/loan_balance_adjustment.json b/lending/loan_management/doctype/loan_balance_adjustment/loan_balance_adjustment.json index 30e1886b..13725a57 100644 --- a/lending/loan_management/doctype/loan_balance_adjustment/loan_balance_adjustment.json +++ b/lending/loan_management/doctype/loan_balance_adjustment/loan_balance_adjustment.json @@ -31,6 +31,7 @@ "fieldname": "loan", "fieldtype": "Link", "in_list_view": 1, + "in_standard_filter": 1, "label": "Loan", "options": "Loan", "reqd": 1 @@ -47,6 +48,8 @@ "fetch_from": "loan.applicant", "fieldname": "applicant", "fieldtype": "Dynamic Link", + "in_list_view": 1, + "in_standard_filter": 1, "label": "Applicant ", "options": "applicant_type", "read_only": 1 @@ -125,6 +128,8 @@ { "fieldname": "adjustment_type", "fieldtype": "Select", + "in_list_view": 1, + "in_standard_filter": 1, "label": "Adjustment Type", "options": "Credit Adjustment\nDebit Adjustment", "reqd": 1 @@ -156,7 +161,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2023-09-19 23:19:09.442382", + "modified": "2024-11-12 16:56:38.999819", "modified_by": "Administrator", "module": "Loan Management", "name": "Loan Balance Adjustment", diff --git a/lending/loan_management/doctype/loan_demand/loan_demand.json b/lending/loan_management/doctype/loan_demand/loan_demand.json index 7f52215d..eb9b6b04 100644 --- a/lending/loan_management/doctype/loan_demand/loan_demand.json +++ b/lending/loan_management/doctype/loan_demand/loan_demand.json @@ -169,8 +169,10 @@ { "fieldname": "loan_repayment_schedule", "fieldtype": "Link", + "in_standard_filter": 1, "label": "Loan Repayment Schedule", - "options": "Loan Repayment Schedule" + "options": "Loan Repayment Schedule", + "search_index": 1 }, { "fetch_from": ".", @@ -199,6 +201,7 @@ "fetch_from": "loan.loan_partner", "fieldname": "loan_partner", "fieldtype": "Link", + "in_standard_filter": 1, "label": "Loan Partner", "options": "Loan Partner" }, @@ -230,7 +233,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2024-10-18 17:59:28.458090", + "modified": "2024-11-12 16:56:42.493784", "modified_by": "Administrator", "module": "Loan Management", "name": "Loan Demand", diff --git a/lending/loan_management/doctype/loan_disbursement/loan_disbursement.json b/lending/loan_management/doctype/loan_disbursement/loan_disbursement.json index f4d10aad..dcf0068e 100644 --- a/lending/loan_management/doctype/loan_disbursement/loan_disbursement.json +++ b/lending/loan_management/doctype/loan_disbursement/loan_disbursement.json @@ -55,6 +55,7 @@ "fieldname": "against_loan", "fieldtype": "Link", "in_list_view": 1, + "in_standard_filter": 1, "label": "Against Loan ", "options": "Loan", "reqd": 1, @@ -347,7 +348,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2024-09-22 12:40:24.840400", + "modified": "2024-11-12 16:56:42.962589", "modified_by": "Administrator", "module": "Loan Management", "name": "Loan Disbursement", diff --git a/lending/loan_management/doctype/loan_repayment/loan_repayment.json b/lending/loan_management/doctype/loan_repayment/loan_repayment.json index b1bd4d29..368b29af 100644 --- a/lending/loan_management/doctype/loan_repayment/loan_repayment.json +++ b/lending/loan_management/doctype/loan_repayment/loan_repayment.json @@ -77,6 +77,7 @@ "fieldname": "against_loan", "fieldtype": "Link", "in_list_view": 1, + "in_standard_filter": 1, "label": "Against Loan", "options": "Loan", "reqd": 1, @@ -350,6 +351,7 @@ "fieldname": "repayment_type", "fieldtype": "Select", "in_list_view": 1, + "in_standard_filter": 1, "label": "Repayment Type", "options": "Normal Repayment\nInterest Waiver\nPenalty Waiver\nCharges Waiver\nPrincipal Capitalization\nPrincipal Adjustment\nInterest Carry Forward\nWrite Off Recovery\nSecurity Deposit Adjustment\nAdvance Payment\nPre Payment\nSubsidy Adjustments\nLoan Closure\nPartial Settlement\nFull Settlement\nWrite Off Settlement\nCharge Payment" }, @@ -369,6 +371,7 @@ { "fieldname": "loan_disbursement", "fieldtype": "Link", + "in_standard_filter": 1, "label": "Loan Disbursement", "options": "Loan Disbursement", "search_index": 1 @@ -508,7 +511,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2024-11-04 04:49:30.202272", + "modified": "2024-11-12 16:56:41.278827", "modified_by": "Administrator", "module": "Loan Management", "name": "Loan Repayment", diff --git a/lending/loan_management/doctype/loan_repayment_schedule/loan_repayment_schedule.json b/lending/loan_management/doctype/loan_repayment_schedule/loan_repayment_schedule.json index e7e66472..9324b9c7 100644 --- a/lending/loan_management/doctype/loan_repayment_schedule/loan_repayment_schedule.json +++ b/lending/loan_management/doctype/loan_repayment_schedule/loan_repayment_schedule.json @@ -61,6 +61,7 @@ "fieldname": "loan", "fieldtype": "Link", "in_list_view": 1, + "in_standard_filter": 1, "label": "Loan", "options": "Loan", "reqd": 1, @@ -119,9 +120,9 @@ "fieldname": "status", "fieldtype": "Select", "hidden": 1, + "in_standard_filter": 1, "label": "Status", - "options": "Initiated\nRejected\nActive\nRestructured\nRescheduled\nOutdated\nDraft\nCancelled\nClosed", - "search_index": 1 + "options": "Initiated\nRejected\nActive\nRestructured\nRescheduled\nOutdated\nDraft\nCancelled\nClosed" }, { "fieldname": "repayment_start_date", @@ -220,6 +221,7 @@ { "fieldname": "loan_disbursement", "fieldtype": "Link", + "in_standard_filter": 1, "label": "Loan Disbursement", "options": "Loan Disbursement", "read_only": 1, @@ -371,7 +373,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2024-11-12 08:43:29.866090", + "modified": "2024-11-12 16:56:42.015406", "modified_by": "Administrator", "module": "Loan Management", "name": "Loan Repayment Schedule", diff --git a/lending/loan_management/doctype/loan_security_deposit/loan_security_deposit.json b/lending/loan_management/doctype/loan_security_deposit/loan_security_deposit.json index 49e1cee1..febcc509 100644 --- a/lending/loan_management/doctype/loan_security_deposit/loan_security_deposit.json +++ b/lending/loan_management/doctype/loan_security_deposit/loan_security_deposit.json @@ -22,6 +22,8 @@ { "fieldname": "loan", "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, "label": "Loan", "options": "Loan", "read_only": 1, @@ -30,6 +32,8 @@ { "fieldname": "loan_disbursement", "fieldtype": "Link", + "in_list_view": 1, + "in_standard_filter": 1, "label": "Loan Disbursement", "options": "Loan Disbursement", "read_only": 1 @@ -37,6 +41,7 @@ { "fieldname": "deposit_amount", "fieldtype": "Currency", + "in_list_view": 1, "label": "Deposit Amount", "read_only": 1 }, @@ -58,6 +63,7 @@ { "fieldname": "deposit_date", "fieldtype": "Date", + "in_list_view": 1, "label": "Deposit Date" }, { @@ -85,7 +91,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2024-10-17 16:00:11.897562", + "modified": "2024-11-12 16:56:40.174119", "modified_by": "Administrator", "module": "Loan Management", "name": "Loan Security Deposit", diff --git a/lending/loan_management/doctype/loan_write_off/loan_write_off.json b/lending/loan_management/doctype/loan_write_off/loan_write_off.json index d97ce452..341ab125 100644 --- a/lending/loan_management/doctype/loan_write_off/loan_write_off.json +++ b/lending/loan_management/doctype/loan_write_off/loan_write_off.json @@ -28,6 +28,7 @@ "fieldname": "loan", "fieldtype": "Link", "in_list_view": 1, + "in_standard_filter": 1, "label": "Loan", "options": "Loan", "reqd": 1, @@ -67,6 +68,7 @@ "fetch_from": "loan.applicant", "fieldname": "applicant", "fieldtype": "Dynamic Link", + "in_standard_filter": 1, "label": "Applicant ", "options": "applicant_type", "read_only": 1 @@ -141,7 +143,7 @@ "index_web_pages_for_search": 1, "is_submittable": 1, "links": [], - "modified": "2024-08-14 09:57:06.700885", + "modified": "2024-11-12 16:56:40.674495", "modified_by": "Administrator", "module": "Loan Management", "name": "Loan Write Off",