mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
fix: Download JSON for GSTR-1 report
(cherry picked from commit b532ade383)
This commit is contained in:
committed by
mergify-bot
parent
54ea9319a1
commit
9efc0d1043
@@ -78,8 +78,9 @@ frappe.query_reports["GSTR-1"] = {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
report.page.add_inner_button(__("Download as JSON"), function () {
|
report.page.add_inner_button(__("Download as JSON"), function () {
|
||||||
|
let filters = report.get_values();
|
||||||
|
|
||||||
frappe.call({
|
frappe.call({
|
||||||
method: 'erpnext.regional.report.gstr_1.gstr_1.get_json',
|
method: 'erpnext.regional.report.gstr_1.gstr_1.get_json',
|
||||||
args: {
|
args: {
|
||||||
|
|||||||
Reference in New Issue
Block a user