Skip to content

Commit

Permalink
fix: gstr-1 headers
Browse files Browse the repository at this point in the history
  • Loading branch information
divyam-mistry committed Feb 28, 2024
1 parent 42e1c95 commit acdffe3
Show file tree
Hide file tree
Showing 3 changed files with 234 additions and 197 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 acdffe3

Please sign in to comment.