Skip to content

Commit

Permalink
18782 fix error in wrong agm due date (#598)
Browse files Browse the repository at this point in the history
fix error in wrong agm due date
  • Loading branch information
tshyun24 authored Dec 11, 2023
1 parent 98651ee commit b8ee42d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "business-filings-ui",
"version": "7.0.23",
"version": "7.0.24",
"private": true,
"appName": "Filings UI",
"sbcName": "SBC Common Components",
Expand Down
4 changes: 2 additions & 2 deletions src/components/AgmExtension/ExtensionRequest.vue
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@ export default class ExtensionRequest extends Vue {
DateUtilities.dateToYyyyMmDd(this.data.incorporationDate), this.data.prevExpiryDate) - 18
this.data.extensionDuration = Math.min(6, (12 - totalExtensionApproved))
this.data.agmDueDate = DateUtilities.addMonthsToDate(
this.data.extensionDuration + totalExtensionApproved,
cutOffYyyyMmDd
this.data.extensionDuration,
this.data.prevExpiryDate
)
}
}
Expand Down

0 comments on commit b8ee42d

Please sign in to comment.