Skip to content

Commit

Permalink
fix: toggle actions immediately on filing of GST Return
Browse files Browse the repository at this point in the history
(cherry picked from commit 80e88c3)
  • Loading branch information
vorasmit authored and mergify[bot] committed Nov 11, 2024
1 parent 6b2982a commit 99cd1df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions india_compliance/gst_india/doctype/gstr_1_beta/gstr_1_beta.js
Original file line number Diff line number Diff line change
Expand Up @@ -2485,6 +2485,8 @@ class FileGSTR1Dialog {
r => this.handle_filing_response(r.message),
{ pan: pan, otp: this.filing_dialog.get_value("otp") }
);

this.toggle_actions(true);
});

this.filing_dialog.set_secondary_action_label("Resend OTP");
Expand All @@ -2494,8 +2496,6 @@ class FileGSTR1Dialog {
}

handle_filing_response(response) {
this.toggle_actions(true);

if (response.error?.error_cd === "RET13506") {
this.filing_dialog
.get_field("otp")
Expand Down

0 comments on commit 99cd1df

Please sign in to comment.