Skip to content

Commit

Permalink
Merge pull request #213 from nabinhait/list-view-filters
Browse files Browse the repository at this point in the history
fix: Added standard filters for list view
  • Loading branch information
nabinhait authored Nov 12, 2024
2 parents 384fd39 + c039e6a commit 2d13073
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"fieldname": "loan",
"fieldtype": "Link",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Loan",
"options": "Loan",
"reqd": 1
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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",
Expand Down
7 changes: 5 additions & 2 deletions lending/loan_management/doctype/loan_demand/loan_demand.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": ".",
Expand Down Expand Up @@ -199,6 +201,7 @@
"fetch_from": "loan.loan_partner",
"fieldname": "loan_partner",
"fieldtype": "Link",
"in_standard_filter": 1,
"label": "Loan Partner",
"options": "Loan Partner"
},
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"fieldname": "against_loan",
"fieldtype": "Link",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Against Loan ",
"options": "Loan",
"reqd": 1,
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"fieldname": "against_loan",
"fieldtype": "Link",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Against Loan",
"options": "Loan",
"reqd": 1,
Expand Down Expand Up @@ -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"
},
Expand All @@ -369,6 +371,7 @@
{
"fieldname": "loan_disbursement",
"fieldtype": "Link",
"in_standard_filter": 1,
"label": "Loan Disbursement",
"options": "Loan Disbursement",
"search_index": 1
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"fieldname": "loan",
"fieldtype": "Link",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Loan",
"options": "Loan",
"reqd": 1,
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -220,6 +221,7 @@
{
"fieldname": "loan_disbursement",
"fieldtype": "Link",
"in_standard_filter": 1,
"label": "Loan Disbursement",
"options": "Loan Disbursement",
"read_only": 1,
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
{
"fieldname": "loan",
"fieldtype": "Link",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Loan",
"options": "Loan",
"read_only": 1,
Expand All @@ -30,13 +32,16 @@
{
"fieldname": "loan_disbursement",
"fieldtype": "Link",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Loan Disbursement",
"options": "Loan Disbursement",
"read_only": 1
},
{
"fieldname": "deposit_amount",
"fieldtype": "Currency",
"in_list_view": 1,
"label": "Deposit Amount",
"read_only": 1
},
Expand All @@ -58,6 +63,7 @@
{
"fieldname": "deposit_date",
"fieldtype": "Date",
"in_list_view": 1,
"label": "Deposit Date"
},
{
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"fieldname": "loan",
"fieldtype": "Link",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Loan",
"options": "Loan",
"reqd": 1,
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 2d13073

Please sign in to comment.