Merge pull request #21738 from theopen-institute/fee-schedule-date

fix(Education): Added a posting_date field to Fee Schedule
This commit is contained in:
rohitwaghchaure 2020-05-28 12:01:30 +05:30 committed by GitHub
commit bf561f9387
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View File

@ -1,4 +1,5 @@
{
"actions": [],
"allow_import": 1,
"autoname": "naming_series:",
"creation": "2017-07-18 15:21:21.527136",
@ -7,6 +8,7 @@
"engine": "InnoDB",
"field_order": [
"fee_structure",
"posting_date",
"due_date",
"naming_series",
"fee_creation_status",
@ -259,10 +261,18 @@
{
"fieldname": "dimension_col_break",
"fieldtype": "Column Break"
},
{
"default": "Today",
"fieldname": "posting_date",
"fieldtype": "Date",
"label": "Posting Date",
"reqd": 1
}
],
"is_submittable": 1,
"modified": "2019-05-26 09:10:34.522409",
"links": [],
"modified": "2020-05-15 08:39:20.682837",
"modified_by": "Administrator",
"module": "Education",
"name": "Fee Schedule",

View File

@ -87,6 +87,7 @@ def generate_fee(fee_schedule):
}
}
})
fees_doc.posting_date = doc.posting_date
fees_doc.student = student.student
fees_doc.student_name = student.student_name
fees_doc.program = student.program