Skip to content

Commit

Permalink
fix(gstr-1): toggle actions immediately after filing of GST return
Browse files Browse the repository at this point in the history
(cherry picked from commit 907fdc5)
  • Loading branch information
vorasmit authored and mergify[bot] committed Nov 11, 2024
1 parent 36a698a commit 37392c1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2494,14 +2494,15 @@ class FileGSTR1Dialog {
}

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

if (response.error?.error_cd === "RET13506") {
this.filing_dialog
.get_field("otp")
.set_description(
`<p style="color: red">OTP is either expired or incorrect.</p>`
);

this.toggle_actions(true);
return;
}

Expand Down

0 comments on commit 37392c1

Please sign in to comment.