-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
952 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
[ | ||
{ | ||
"amortization_type": "None", | ||
"code": "NO", | ||
"docstatus": 0, | ||
"doctype": "Amortization Type", | ||
"modified": "2023-09-23 04:17:52.094010", | ||
"name": "None", | ||
"sort_order": 0 | ||
}, | ||
{ | ||
"amortization_type": "Interest only", | ||
"code": "IN", | ||
"docstatus": 0, | ||
"doctype": "Amortization Type", | ||
"modified": "2023-09-23 04:18:22.039032", | ||
"name": "Interest only", | ||
"sort_order": 1 | ||
}, | ||
{ | ||
"amortization_type": "Progressive annuities towards RV", | ||
"code": "PR", | ||
"docstatus": 0, | ||
"doctype": "Amortization Type", | ||
"modified": "2023-09-23 04:19:09.576844", | ||
"name": "Progressive annuities towards RV", | ||
"sort_order": 2 | ||
}, | ||
{ | ||
"amortization_type": "Progressive annuities towards 0", | ||
"code": "P0", | ||
"docstatus": 0, | ||
"doctype": "Amortization Type", | ||
"modified": "2023-09-23 04:19:29.894895", | ||
"name": "Progressive annuities towards 0", | ||
"sort_order": 3 | ||
}, | ||
{ | ||
"amortization_type": "Linear annuities towards RV", | ||
"code": "LR", | ||
"docstatus": 0, | ||
"doctype": "Amortization Type", | ||
"modified": "2023-09-23 04:21:03.069987", | ||
"name": "Linear annuities towards RV", | ||
"sort_order": 4 | ||
}, | ||
{ | ||
"amortization_type": "Linear annuities towards 0", | ||
"code": "L0", | ||
"docstatus": 0, | ||
"doctype": "Amortization Type", | ||
"modified": "2023-09-23 04:21:20.658786", | ||
"name": "Linear annuities towards 0", | ||
"sort_order": 5 | ||
}, | ||
{ | ||
"amortization_type": "Degressive annuities", | ||
"code": "D0", | ||
"docstatus": 0, | ||
"doctype": "Amortization Type", | ||
"modified": "2023-09-23 04:23:40.268938", | ||
"name": "Degressive annuities", | ||
"sort_order": 6 | ||
} | ||
] |
Empty file.
8 changes: 8 additions & 0 deletions
8
lending/loan_management/doctype/amortization_type/amortization_type.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors | ||
// For license information, please see license.txt | ||
|
||
// frappe.ui.form.on("Amortization Type", { | ||
// refresh(frm) { | ||
|
||
// }, | ||
// }); |
73 changes: 73 additions & 0 deletions
73
lending/loan_management/doctype/amortization_type/amortization_type.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"actions": [], | ||
"allow_rename": 1, | ||
"autoname": "field:amortization_type", | ||
"creation": "2023-09-22 23:59:28.235303", | ||
"default_view": "List", | ||
"doctype": "DocType", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"amortization_type", | ||
"code", | ||
"column_break_rwej", | ||
"sort_order" | ||
], | ||
"fields": [ | ||
{ | ||
"bold": 1, | ||
"fieldname": "amortization_type", | ||
"fieldtype": "Data", | ||
"label": "Amortization Type", | ||
"reqd": 1, | ||
"translatable": 1, | ||
"unique": 1 | ||
}, | ||
{ | ||
"fieldname": "column_break_rwej", | ||
"fieldtype": "Column Break" | ||
}, | ||
{ | ||
"fieldname": "code", | ||
"fieldtype": "Data", | ||
"in_list_view": 1, | ||
"label": "Code", | ||
"reqd": 1, | ||
"unique": 1 | ||
}, | ||
{ | ||
"fieldname": "sort_order", | ||
"fieldtype": "Int", | ||
"in_list_view": 1, | ||
"label": "Sort order", | ||
"non_negative": 1, | ||
"reqd": 1, | ||
"search_index": 1 | ||
} | ||
], | ||
"index_web_pages_for_search": 1, | ||
"links": [], | ||
"modified": "2023-09-23 04:21:41.579342", | ||
"modified_by": "Administrator", | ||
"module": "Loan Management", | ||
"name": "Amortization Type", | ||
"naming_rule": "By fieldname", | ||
"owner": "Administrator", | ||
"permissions": [ | ||
{ | ||
"create": 1, | ||
"delete": 1, | ||
"email": 1, | ||
"export": 1, | ||
"print": 1, | ||
"read": 1, | ||
"report": 1, | ||
"role": "System Manager", | ||
"share": 1, | ||
"write": 1 | ||
} | ||
], | ||
"sort_field": "sort_order", | ||
"sort_order": "DESC", | ||
"states": [] | ||
} |
9 changes: 9 additions & 0 deletions
9
lending/loan_management/doctype/amortization_type/amortization_type.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and contributors | ||
# For license information, please see license.txt | ||
|
||
# import frappe | ||
from frappe.model.document import Document | ||
|
||
|
||
class AmortizationType(Document): | ||
pass |
9 changes: 9 additions & 0 deletions
9
lending/loan_management/doctype/amortization_type/test_amortization_type.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and Contributors | ||
# See license.txt | ||
|
||
# import frappe | ||
from frappe.tests.utils import FrappeTestCase | ||
|
||
|
||
class TestAmortizationType(FrappeTestCase): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.