feat: add PAN details field to member for India

This commit is contained in:
Shivam Mishra 2020-03-30 18:14:44 +05:30
parent e836cdec13
commit 1d6395c5cf

View File

@ -507,6 +507,14 @@ def make_custom_fields(update=True):
'depends_on':'eval:in_list(["SEZ", "Overseas", "Deemed Export"], doc.gst_category)', 'depends_on':'eval:in_list(["SEZ", "Overseas", "Deemed Export"], doc.gst_category)',
'options': '\nWith Payment of Tax\nWithout Payment of Tax' 'options': '\nWith Payment of Tax\nWithout Payment of Tax'
} }
],
"Member": [
{
'fieldname': 'pan_number',
'label': 'PAN Details',
'fieldtype': 'Data',
'insert_after': 'email'
}
] ]
} }
create_custom_fields(custom_fields, update=update) create_custom_fields(custom_fields, update=update)
@ -728,4 +736,4 @@ def get_tds_details(accounts, fiscal_year):
doctype="Tax Withholding Category", accounts=accounts, doctype="Tax Withholding Category", accounts=accounts,
rates=[{"fiscal_year": fiscal_year, "tax_withholding_rate": 20, rates=[{"fiscal_year": fiscal_year, "tax_withholding_rate": 20,
"single_threshold": 2500, "cumulative_threshold": 0}]) "single_threshold": 2500, "cumulative_threshold": 0}])
] ]