diff --git a/erpnext/docs/assets/img/non_profit/grant_application/grant_application.png b/erpnext/docs/assets/img/non_profit/grant_application/grant_application.png new file mode 100644 index 00000000000..50cc1a87f7c Binary files /dev/null and b/erpnext/docs/assets/img/non_profit/grant_application/grant_application.png differ diff --git a/erpnext/docs/user/manual/en/non_profit/Grant Application/grant_application.md b/erpnext/docs/user/manual/en/non_profit/Grant Application/grant_application.md new file mode 100644 index 00000000000..47a06061859 --- /dev/null +++ b/erpnext/docs/user/manual/en/non_profit/Grant Application/grant_application.md @@ -0,0 +1,7 @@ +#Grant Application + +The Grant Application doctype allows you to record the Grant Applicants details. + +Grant Application + +{next} \ No newline at end of file diff --git a/erpnext/non_profit/doctype/membership_type/test_membership_type.js b/erpnext/non_profit/doctype/membership_type/test_membership_type.js index d833aac6912..6440df8473f 100644 --- a/erpnext/non_profit/doctype/membership_type/test_membership_type.js +++ b/erpnext/non_profit/doctype/membership_type/test_membership_type.js @@ -6,16 +6,18 @@ QUnit.test("test: Membership Type", function (assert) { let done = assert.async(); // number of asserts - assert.expect(1); + assert.expect(2); frappe.run_serially([ - // insert a new Membership Type + // insert a new Member () => frappe.tests.make('Membership Type', [ // values to be set - {key: 'value'} + {membership_type: 'Gold'}, + {amount:50000} ]), () => { - assert.equal(cur_frm.doc.key, 'value'); + assert.equal(cur_frm.doc.membership_type, 'Gold'); + assert.equal(cur_frm.doc.amount, '50000'); }, () => done() ]);