-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: added new child doctype for holding payments information.
- Loading branch information
1 parent
702add6
commit 589eb0d
Showing
3 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
59 changes: 59 additions & 0 deletions
59
...2c/mpesa_b2c/doctype/mpesa_b2c_employee_payment_item/mpesa_b2c_employee_payment_item.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,59 @@ | ||
{ | ||
"actions": [], | ||
"allow_rename": 1, | ||
"creation": "2024-05-10 10:19:22.013333", | ||
"doctype": "DocType", | ||
"editable_grid": 1, | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"reference_doctype", | ||
"record", | ||
"column_break_guwr", | ||
"receiver_name", | ||
"partyb" | ||
], | ||
"fields": [ | ||
{ | ||
"fieldname": "reference_doctype", | ||
"fieldtype": "Link", | ||
"in_list_view": 1, | ||
"label": "Reference doctype", | ||
"options": "DocType" | ||
}, | ||
{ | ||
"fieldname": "record", | ||
"fieldtype": "Dynamic Link", | ||
"in_list_view": 1, | ||
"label": "Record", | ||
"options": "reference_doctype" | ||
}, | ||
{ | ||
"fieldname": "column_break_guwr", | ||
"fieldtype": "Column Break" | ||
}, | ||
{ | ||
"fieldname": "receiver_name", | ||
"fieldtype": "Data", | ||
"in_list_view": 1, | ||
"label": "Receiver Name" | ||
}, | ||
{ | ||
"fieldname": "partyb", | ||
"fieldtype": "Data", | ||
"in_list_view": 1, | ||
"label": "Contacts" | ||
} | ||
], | ||
"index_web_pages_for_search": 1, | ||
"istable": 1, | ||
"links": [], | ||
"modified": "2024-05-10 12:41:01.945598", | ||
"modified_by": "Administrator", | ||
"module": "MPesa B2C", | ||
"name": "MPesa B2C Employee Payment Item", | ||
"owner": "Administrator", | ||
"permissions": [], | ||
"sort_field": "modified", | ||
"sort_order": "DESC", | ||
"states": [] | ||
} |
9 changes: 9 additions & 0 deletions
9
..._b2c/mpesa_b2c/doctype/mpesa_b2c_employee_payment_item/mpesa_b2c_employee_payment_item.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) 2024, Navari Ltd and contributors | ||
# For license information, please see license.txt | ||
|
||
# import frappe | ||
from frappe.model.document import Document | ||
|
||
|
||
class MPesaB2CEmployeePaymentItem(Document): | ||
pass |