Skip to content

Commit

Permalink
Update SupplementaryFormView.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbeckett authored Oct 30, 2024
1 parent d673748 commit 446a370
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@ export default {
const formattedEndDate = moment(this.fundingAgreement?.endDate).endOf('day').toDate()
let termTwoEndDate
let termOneEndDate
const daysOfTerm = moment.duration(moment(formattedEndDate).diff(moment(formattedStartDate))).asDays()

Check failure on line 561 in frontend/src/views/supp-allowances/SupplementaryFormView.vue

View workflow job for this annotation

GitHub Actions / Run ESLint

'formattedStartDate' is not defined
//ofmcc-6357- allow supp terms to work with both a FA term of 2 and 3 years in length
//this will account for leap years as a standard non leap year term would be 729 days.
Expand Down

0 comments on commit 446a370

Please sign in to comment.