Skip to content

Commit

Permalink
Merge pull request #1968 from bcgov/fix/EDX-2974
Browse files Browse the repository at this point in the history
EDX-2974 - hides student differences and resolved duplicates tabs on …
  • Loading branch information
arcshiftsolutions authored Oct 11, 2024
2 parents 3012698 + 9f06be9 commit 5fe953b
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
:district-collection-object="districtCollectionObject"
:is-final-sign-off="true"
:is-collection-active="isCollectionActive"
:show-signatures="true"
:show-final-submission-tabs="true"
/>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@
</div>
</v-tab>
<v-tab
v-if="isFinalSignOff && !isMigratedCollection"
v-if="isFinalSignOff && !isMigratedCollection && showFinalSubmissionTabs"
key="StudentDifferences"
value="StudentDifferences"
class="divider"
>
Student <br> Differences
</v-tab>
<v-tab
v-if="isFinalSignOff && !isMigratedCollection"
v-if="isFinalSignOff && !isMigratedCollection && showFinalSubmissionTabs"
key="resolvedDuplicates"
value="resolvedDuplicates"
class="divider"
>
Resolved <br> Duplicates
</v-tab>
<v-tab
v-if="isFinalSignOff && !isMigratedCollection && showSignatures"
v-if="isFinalSignOff && !isMigratedCollection && showFinalSubmissionTabs"
key="SignOff"
value="SignOff"
class="divider"
Expand Down Expand Up @@ -127,7 +127,7 @@
/>
</v-window-item>
<v-window-item
v-if="isFinalSignOff && !isMigratedCollection"
v-if="isFinalSignOff && !isMigratedCollection && showFinalSubmissionTabs"
value="StudentDifferences"
transition="false"
reverse-transition="false"
Expand All @@ -138,7 +138,7 @@
/>
</v-window-item>
<v-window-item
v-if="isFinalSignOff && !isMigratedCollection"
v-if="isFinalSignOff && !isMigratedCollection && showFinalSubmissionTabs"
value="resolvedDuplicates"
transition="false"
reverse-transition="false"
Expand All @@ -148,7 +148,7 @@
/>
</v-window-item>
<v-window-item
v-if="isFinalSignOff && !isMigratedCollection"
v-if="isFinalSignOff && !isMigratedCollection && showFinalSubmissionTabs"
value="SignOff"
transition="false"
reverse-transition="false"
Expand Down Expand Up @@ -245,7 +245,7 @@ export default {
type: Boolean,
required: true
},
showSignatures: {
showFinalSubmissionTabs: {
type: Boolean,
required: false,
default: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
:is-step-complete="true"
:is-final-sign-off="true"
:is-collection-active="isCollectionActive"
:show-final-submission-tabs="showFinalSubmissionTabs"
/>
</div>
<v-alert
Expand Down Expand Up @@ -133,6 +134,10 @@ export default {
type: Boolean,
required: true
},
showFinalSubmissionTabs: {
type: Boolean,
default: false
}
},
emits: ['previous', 'next', 'refresh-store'],
data() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
</div>
</v-tab>
<v-tab
v-if="isFinalSignOff && !isMigratedCollection"
v-if="isFinalSignOff && !isMigratedCollection && showFinalSubmissionTabs"
key="StudentDifferences"
value="StudentDifferences"
class="divider"
>
Student <br> Differences
</v-tab>
<v-tab
v-if="isFinalSignOff && !isMigratedCollection"
v-if="isFinalSignOff && !isMigratedCollection && showFinalSubmissionTabs"
key="resolvedDuplicates"
value="resolvedDuplicates"
class="divider"
Expand Down Expand Up @@ -118,7 +118,7 @@
/>
</v-window-item>
<v-window-item
v-if="isFinalSignOff && !isMigratedCollection"
v-if="isFinalSignOff && !isMigratedCollection && showFinalSubmissionTabs"
value="StudentDifferences"
transition="false"
reverse-transition="false"
Expand All @@ -129,7 +129,7 @@
/>
</v-window-item>
<v-window-item
v-if="isFinalSignOff && !isMigratedCollection"
v-if="isFinalSignOff && !isMigratedCollection && showFinalSubmissionTabs"
value="resolvedDuplicates"
transition="false"
reverse-transition="false"
Expand Down Expand Up @@ -221,6 +221,10 @@ export default {
isCollectionActive: {
type: Boolean,
required: true
},
showFinalSubmissionTabs: {
type: Boolean,
default: false
}
},
emits: ['next', 'previous'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
:school-collection-object="schoolCollectionObject"
:is-collection-active="isSdcSchoolCollectionActive"
:is-step-complete="true"
:show-final-submission-tabs="true"
@refresh-store="refreshStore"
@next="next"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,7 @@
:is-step-complete="isStepComplete"
:school-collection-object="schoolCollectionObject"
:is-collection-active="isSdcSchoolCollectionActive"
@refresh-store="refreshStore"
@next="next"
/>
</v-stepper-window-item>
<v-stepper-window-item
:value="9"
transition="false"
reverse-transition="false"
>
<StepSevenSubmitData
:school-collection-object="schoolCollectionObject"
:is-collection-active="isSdcSchoolCollectionActive"
:is-step-complete="true"
:show-final-submission-tabs="true"
@refresh-store="refreshStore"
@next="next"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
:school-collection-object="schoolCollectionObject"
:is-collection-active="isSdcSchoolCollectionActive"
:is-step-complete="true"
:show-final-submission-tabs="true"
@refresh-store="refreshStore"
@next="next"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
:is-step-complete="isStepComplete"
:school-collection-object="schoolCollectionObject"
:is-collection-active="isSdcSchoolCollectionActive"
:show-final-submission-tabs="true"
@refresh-store="refreshStore"
@next="next"
/>
Expand Down

0 comments on commit 5fe953b

Please sign in to comment.