Skip to content

Commit

Permalink
fix: show all tabs on mark as unfiled
Browse files Browse the repository at this point in the history
(cherry picked from commit 88fc762)
  • Loading branch information
vorasmit authored and mergify[bot] committed Nov 11, 2024
1 parent 5f3cb18 commit 0c882f0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ class GSTR1 {
return;
}

if (this.data.status == "Ready to File") {
if (this.status == "Ready to File") {
if (["books", "unfiled", "reconcile"].includes(tab_name)) {
tab.hide();
_tab.shown = false;
Expand Down Expand Up @@ -2612,6 +2612,7 @@ class GSTR1Action extends FileGSTR1Dialog {
callback: () => {
this.frm.gstr1.status = "Not Filed";
this.frm.refresh();
this.frm.gstr1.refresh_data();
},
});
}
Expand Down

0 comments on commit 0c882f0

Please sign in to comment.