{
 "actions": [],
 "autoname": "naming_series:",
 "creation": "2021-02-15 12:37:21.577042",
 "doctype": "DocType",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "naming_series",
  "recipient",
  "member",
  "member_name",
  "member_email",
  "member_pan_number",
  "donor",
  "donor_name",
  "donor_email",
  "donor_pan_number",
  "column_break_4",
  "date",
  "fiscal_year",
  "section_break_11",
  "company",
  "company_address",
  "company_address_display",
  "column_break_14",
  "company_pan_number",
  "company_80g_number",
  "company_80g_wef",
  "title",
  "section_break_6",
  "get_payments",
  "payments",
  "total",
  "donation_details_section",
  "donation",
  "date_of_donation",
  "amount",
  "column_break_27",
  "mode_of_payment",
  "razorpay_payment_id"
 ],
 "fields": [
  {
   "fieldname": "recipient",
   "fieldtype": "Select",
   "in_list_view": 1,
   "label": "Certificate Recipient",
   "options": "Member\nDonor",
   "reqd": 1
  },
  {
   "depends_on": "eval:doc.recipient === \"Member\";",
   "fieldname": "member",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Member",
   "mandatory_depends_on": "eval:doc.recipient === \"Member\";",
   "options": "Member"
  },
  {
   "depends_on": "eval:doc.recipient === \"Member\";",
   "fetch_from": "member.member_name",
   "fieldname": "member_name",
   "fieldtype": "Data",
   "label": "Member Name",
   "read_only": 1
  },
  {
   "depends_on": "eval:doc.recipient === \"Donor\";",
   "fieldname": "donor",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Donor",
   "mandatory_depends_on": "eval:doc.recipient === \"Donor\";",
   "options": "Donor"
  },
  {
   "fieldname": "column_break_4",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "date",
   "fieldtype": "Date",
   "label": "Date",
   "reqd": 1
  },
  {
   "depends_on": "eval:doc.recipient === \"Member\";",
   "fieldname": "section_break_6",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "payments",
   "fieldtype": "Table",
   "label": "Payments",
   "options": "Tax Exemption 80G Certificate Detail"
  },
  {
   "fieldname": "total",
   "fieldtype": "Currency",
   "in_list_view": 1,
   "label": "Total",
   "read_only": 1
  },
  {
   "depends_on": "eval:doc.recipient === \"Member\";",
   "fieldname": "fiscal_year",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Fiscal Year",
   "options": "Fiscal Year"
  },
  {
   "fieldname": "company",
   "fieldtype": "Link",
   "label": "Company",
   "options": "Company",
   "reqd": 1
  },
  {
   "fieldname": "get_payments",
   "fieldtype": "Button",
   "label": "Get Memberships"
  },
  {
   "fieldname": "naming_series",
   "fieldtype": "Select",
   "label": "Naming Series",
   "options": "NPO-80G-.YYYY.-"
  },
  {
   "fieldname": "section_break_11",
   "fieldtype": "Section Break",
   "label": "Company Details"
  },
  {
   "fieldname": "company_address",
   "fieldtype": "Link",
   "label": "Company Address",
   "options": "Address"
  },
  {
   "fieldname": "column_break_14",
   "fieldtype": "Column Break"
  },
  {
   "fetch_from": "company.pan_details",
   "fieldname": "company_pan_number",
   "fieldtype": "Data",
   "label": "PAN Number",
   "read_only": 1
  },
  {
   "fieldname": "company_address_display",
   "fieldtype": "Small Text",
   "hidden": 1,
   "label": "Company Address Display",
   "print_hide": 1,
   "read_only": 1
  },
  {
   "fetch_from": "company.company_80g_number",
   "fieldname": "company_80g_number",
   "fieldtype": "Data",
   "label": "80G Number",
   "read_only": 1
  },
  {
   "fetch_from": "company.with_effect_from",
   "fieldname": "company_80g_wef",
   "fieldtype": "Date",
   "label": "80G With Effect From",
   "read_only": 1
  },
  {
   "depends_on": "eval:doc.recipient === \"Donor\";",
   "fieldname": "donation_details_section",
   "fieldtype": "Section Break",
   "label": "Donation Details"
  },
  {
   "fieldname": "donation",
   "fieldtype": "Link",
   "label": "Donation",
   "mandatory_depends_on": "eval:doc.recipient === \"Donor\";",
   "options": "Donation"
  },
  {
   "fetch_from": "donation.amount",
   "fieldname": "amount",
   "fieldtype": "Currency",
   "label": "Amount",
   "read_only": 1
  },
  {
   "fetch_from": "donation.mode_of_payment",
   "fieldname": "mode_of_payment",
   "fieldtype": "Link",
   "label": "Mode of Payment",
   "options": "Mode of Payment",
   "read_only": 1
  },
  {
   "fetch_from": "donation.razorpay_payment_id",
   "fieldname": "razorpay_payment_id",
   "fieldtype": "Data",
   "label": "RazorPay Payment ID",
   "read_only": 1
  },
  {
   "fetch_from": "donation.date",
   "fieldname": "date_of_donation",
   "fieldtype": "Date",
   "label": "Date of Donation",
   "read_only": 1
  },
  {
   "fieldname": "column_break_27",
   "fieldtype": "Column Break"
  },
  {
   "depends_on": "eval:doc.recipient === \"Donor\";",
   "fetch_from": "donor.donor_name",
   "fieldname": "donor_name",
   "fieldtype": "Data",
   "label": "Donor Name",
   "read_only": 1
  },
  {
   "depends_on": "eval:doc.recipient === \"Donor\";",
   "fetch_from": "donor.email",
   "fieldname": "donor_email",
   "fieldtype": "Data",
   "label": "Email",
   "read_only": 1
  },
  {
   "depends_on": "eval:doc.recipient === \"Member\";",
   "fetch_from": "member.email_id",
   "fieldname": "member_email",
   "fieldtype": "Data",
   "in_list_view": 1,
   "label": "Email",
   "read_only": 1
  },
  {
   "depends_on": "eval:doc.recipient === \"Member\";",
   "fetch_from": "member.pan_number",
   "fieldname": "member_pan_number",
   "fieldtype": "Data",
   "label": "PAN Details",
   "read_only": 1
  },
  {
   "depends_on": "eval:doc.recipient === \"Donor\";",
   "fetch_from": "donor.pan_number",
   "fieldname": "donor_pan_number",
   "fieldtype": "Data",
   "label": "PAN Details",
   "read_only": 1
  },
  {
   "fieldname": "title",
   "fieldtype": "Data",
   "hidden": 1,
   "label": "Title",
   "print_hide": 1
  }
 ],
 "index_web_pages_for_search": 1,
 "links": [],
 "modified": "2021-02-22 00:03:34.215633",
 "modified_by": "Administrator",
 "module": "Regional",
 "name": "Tax Exemption 80G Certificate",
 "owner": "Administrator",
 "permissions": [
  {
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "System Manager",
   "share": 1,
   "write": 1
  }
 ],
 "search_fields": "member, member_name",
 "sort_field": "modified",
 "sort_order": "DESC",
 "title_field": "title",
 "track_changes": 1
}