Skip to content

Commit

Permalink
fix: change gstr-1 headers excel
Browse files Browse the repository at this point in the history
  • Loading branch information
divyam-mistry committed Feb 27, 2024
1 parent 0c716db commit b34dd1f
Show file tree
Hide file tree
Showing 3 changed files with 226 additions and 181 deletions.
4 changes: 2 additions & 2 deletions india_compliance/gst_india/report/gstr_1/gstr_1.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ function download_full_report_json(report) {

function download_current_report_excel(report) {
open_url_post(`/api/method/${url}.get_gstr1_excel`, {
data: JSON.stringify(report.data),
data: JSON.stringify(report.data || []),
filters: JSON.stringify(report.get_values()),
columns: JSON.stringify(report.columns),
columns: JSON.stringify(report.columns || []),
});
}

Expand Down

0 comments on commit b34dd1f

Please sign in to comment.