feat: gst fields in class student

This commit is contained in:
Jannat Patel
2023-08-23 13:00:54 +05:30
parent 04ed7f412f
commit 47c19b4e3d
11 changed files with 175 additions and 58 deletions

View File

@@ -44,6 +44,7 @@ const setup_billing = () => {
fieldname: "country",
options: "Country",
reqd: 1,
only_select: 1,
},
{
fieldtype: "Data",
@@ -57,6 +58,18 @@ const setup_billing = () => {
fieldname: "phone",
reqd: 1,
},
{
fieldtype: "Data",
fieldname: "gstin",
label: __("GSTIN"),
depends_on: (doc) => console.log(doc.country),
},
{
fieldtype: "Data",
fieldname: "pan",
label: __("PAN"),
depends_on: (doc) => console.log(doc.country),
},
],
body: $("#billing-form").get(0),
});