mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
chore: Linting issues
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
erpnext.setup_auto_gst_taxation = (doctype) => {
|
erpnext.setup_auto_gst_taxation = (doctype) => {
|
||||||
frappe.ui.form.on(doctype, {
|
frappe.ui.form.on(doctype, {
|
||||||
company_address: function(frm) {
|
company_address: function(frm) {
|
||||||
console.log("#########");
|
|
||||||
frm.trigger('get_tax_template');
|
frm.trigger('get_tax_template');
|
||||||
},
|
},
|
||||||
shipping_address: function(frm) {
|
shipping_address: function(frm) {
|
||||||
@@ -41,7 +40,6 @@ erpnext.setup_auto_gst_taxation = (doctype) => {
|
|||||||
},
|
},
|
||||||
debounce: 2000,
|
debounce: 2000,
|
||||||
callback: function(r) {
|
callback: function(r) {
|
||||||
console.log(r.message);
|
|
||||||
if(r.message) {
|
if(r.message) {
|
||||||
frm.set_value('taxes_and_charges', r.message.taxes_and_charges);
|
frm.set_value('taxes_and_charges', r.message.taxes_and_charges);
|
||||||
frm.set_value('taxes', r.message.taxes);
|
frm.set_value('taxes', r.message.taxes);
|
||||||
|
|||||||
Reference in New Issue
Block a user