-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #133 from maniamartial/develop
- Loading branch information
Showing
12 changed files
with
176 additions
and
7 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
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,23 @@ | ||
[ | ||
{ | ||
"description": "Medicine", | ||
"docstatus": 0, | ||
"doctype": "Payment Type", | ||
"modified": "2023-10-17 09:21:16.075071", | ||
"name": "Medicine" | ||
}, | ||
{ | ||
"description": "Testing", | ||
"docstatus": 0, | ||
"doctype": "Payment Type", | ||
"modified": "2023-10-17 09:21:47.261596", | ||
"name": "Testing" | ||
}, | ||
{ | ||
"description": "Consultation", | ||
"docstatus": 0, | ||
"doctype": "Payment Type", | ||
"modified": "2023-10-17 09:22:17.794554", | ||
"name": "Consultation" | ||
} | ||
] |
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.
50 changes: 50 additions & 0 deletions
50
changemakers/frappe_changemakers/doctype/payment_details/payment_details.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,50 @@ | ||
{ | ||
"actions": [], | ||
"allow_rename": 1, | ||
"creation": "2023-10-14 12:40:57.317152", | ||
"default_view": "List", | ||
"doctype": "DocType", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"payment_type", | ||
"payment_details", | ||
"amount" | ||
], | ||
"fields": [ | ||
{ | ||
"fieldname": "payment_type", | ||
"fieldtype": "Link", | ||
"in_list_view": 1, | ||
"label": "Payment Type", | ||
"options": "Payment Type", | ||
"reqd": 1 | ||
}, | ||
{ | ||
"fieldname": "payment_details", | ||
"fieldtype": "Data", | ||
"in_list_view": 1, | ||
"label": "Payment Details" | ||
}, | ||
{ | ||
"fieldname": "amount", | ||
"fieldtype": "Int", | ||
"in_list_view": 1, | ||
"label": "Amount", | ||
"reqd": 1 | ||
} | ||
], | ||
"index_web_pages_for_search": 1, | ||
"istable": 1, | ||
"links": [], | ||
"modified": "2023-10-15 10:12:31.178405", | ||
"modified_by": "Administrator", | ||
"module": "Frappe Changemakers", | ||
"name": "Payment Details", | ||
"owner": "Administrator", | ||
"permissions": [], | ||
"quick_entry": 1, | ||
"sort_field": "modified", | ||
"sort_order": "DESC", | ||
"states": [] | ||
} |
8 changes: 8 additions & 0 deletions
8
changemakers/frappe_changemakers/doctype/payment_details/payment_details.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,8 @@ | ||
# Copyright (c) 2023, hussain@frappe.io and contributors | ||
# For license information, please see license.txt | ||
|
||
# import frappe | ||
from frappe.model.document import Document | ||
|
||
class PaymentDetails(Document): | ||
pass |
Empty file.
8 changes: 8 additions & 0 deletions
8
changemakers/frappe_changemakers/doctype/payment_type/payment_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, hussain@frappe.io and contributors | ||
// For license information, please see license.txt | ||
|
||
frappe.ui.form.on('Payment Type', { | ||
// refresh: function(frm) { | ||
|
||
// } | ||
}); |
46 changes: 46 additions & 0 deletions
46
changemakers/frappe_changemakers/doctype/payment_type/payment_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,46 @@ | ||
{ | ||
"actions": [], | ||
"allow_rename": 1, | ||
"autoname": "prompt", | ||
"creation": "2023-10-14 12:52:50.195141", | ||
"default_view": "List", | ||
"doctype": "DocType", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"description" | ||
], | ||
"fields": [ | ||
{ | ||
"fieldname": "description", | ||
"fieldtype": "Small Text", | ||
"label": "Description" | ||
} | ||
], | ||
"index_web_pages_for_search": 1, | ||
"links": [], | ||
"modified": "2023-10-17 09:20:27.707412", | ||
"modified_by": "Administrator", | ||
"module": "Frappe Changemakers", | ||
"name": "Payment Type", | ||
"name_case": "Title Case", | ||
"naming_rule": "Set by user", | ||
"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": "modified", | ||
"sort_order": "DESC", | ||
"states": [] | ||
} |
8 changes: 8 additions & 0 deletions
8
changemakers/frappe_changemakers/doctype/payment_type/payment_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,8 @@ | ||
# Copyright (c) 2023, hussain@frappe.io and contributors | ||
# For license information, please see license.txt | ||
|
||
# import frappe | ||
from frappe.model.document import Document | ||
|
||
class PaymentType(Document): | ||
pass |
9 changes: 9 additions & 0 deletions
9
changemakers/frappe_changemakers/doctype/payment_type/test_payment_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, hussain@frappe.io and Contributors | ||
# See license.txt | ||
|
||
# import frappe | ||
from frappe.tests.utils import FrappeTestCase | ||
|
||
|
||
class TestPaymentType(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