-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
22846 - show resolution dates in amalgamations #745
Changes from all commits
6b07d2e
e5e068a
77db4c6
c2a9f76
fc93fa3
d2635e3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
<template> | ||
<div | ||
v-if="resolutionList.length > 0" | ||
id="list-resolutions" | ||
> | ||
<v-divider class="mx-4" /> | ||
<article class="pa-4"> | ||
<v-row no-gutters> | ||
<v-col | ||
cols="12" | ||
sm="3" | ||
class="pr-4" | ||
> | ||
<label | ||
id="resolution-label" | ||
>Resolution or Court Order Dates</label> | ||
</v-col> | ||
<v-col | ||
cols="12" | ||
sm="9" | ||
> | ||
<p> | ||
Dates of resolution or court orders to alter the company's share structure or the | ||
special rights or restrictions to a class or a series of shares: | ||
</p> | ||
</v-col> | ||
</v-row> | ||
<v-row no-gutters> | ||
<v-col | ||
cols="12" | ||
sm="3" | ||
class="pr-4" | ||
/> | ||
<v-col | ||
cols="12" | ||
sm="9" | ||
> | ||
<div> | ||
<tr | ||
v-for="(item, index) in resolutionList" | ||
:key="index" | ||
> | ||
<td class="font-weight-bold"> | ||
{{ item.date }} | ||
</td> | ||
</tr> | ||
</div> | ||
</v-col> | ||
</v-row> | ||
</article> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { Component, Vue } from 'vue-property-decorator' | ||
import { useStore } from '@/store/store' | ||
import { Getter } from 'pinia-class' | ||
import { ResolutionIF } from '@/interfaces' | ||
|
||
@Component({}) | ||
export default class ListResolutions extends Vue { | ||
@Getter(useStore) getResolutions!: ResolutionIF[] | ||
|
||
get resolutionList (): ResolutionIF[] { | ||
return this.getResolutions | ||
} | ||
} | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
@import '@/assets/styles/theme.scss'; | ||
|
||
#list-resolutions { | ||
font-size: $px-14; | ||
color: $gray7; | ||
|
||
p { | ||
font-size: $px-14; | ||
} | ||
} | ||
|
||
label { | ||
font-weight: bold; | ||
color: $gray9; | ||
} | ||
|
||
</style> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,23 @@ | |
disable-pagination | ||
disable-sort | ||
hide-default-footer | ||
hide-default-header | ||
> | ||
<template | ||
#header="{ props: { headers } }" | ||
> | ||
<thead> | ||
<tr> | ||
<th | ||
v-for="(h, index) in headers" | ||
:key="index" | ||
:class="h.class" | ||
> | ||
<span>{{ h.text }}</span> | ||
</th> | ||
</tr> | ||
</thead> | ||
</template> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Awesome! Looks great. |
||
<template #item="row"> | ||
<!-- Share Class Rows--> | ||
<tr | ||
|
@@ -50,10 +66,18 @@ | |
<td class="list-item__title"> | ||
{{ row.item.name }} | ||
</td> | ||
<td>{{ row.item.maxNumberOfShares ? (+row.item.maxNumberOfShares).toLocaleString() : 'No Maximum' }}</td> | ||
<td>{{ row.item.parValue ? row.item.parValue : 'No Par Value' }}</td> | ||
<td>{{ row.item.currency }}</td> | ||
<td>{{ row.item.hasRightsOrRestrictions ? 'Yes' : 'No' }}</td> | ||
<td class="share-series-value"> | ||
{{ row.item.maxNumberOfShares ? (+row.item.maxNumberOfShares).toLocaleString() : 'No Maximum' }} | ||
</td> | ||
<td class="share-series-value"> | ||
{{ row.item.parValue ? row.item.parValue : 'No Par Value' }} | ||
</td> | ||
<td class="share-series-value"> | ||
{{ row.item.currency }} | ||
</td> | ||
<td class="share-series-value"> | ||
{{ row.item.hasRightsOrRestrictions ? 'Yes' : 'No' }} | ||
</td> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Jacqueline took a look at this and suggested to change the color for values |
||
|
||
<!-- Share Class Edit Btn --> | ||
<td v-if="!isSummary"> | ||
|
@@ -241,12 +265,13 @@ export default class ListShareClass extends Vue { | |
text: 'Name of Share Class or Series', | ||
align: 'start', | ||
sortable: false, | ||
value: 'name' | ||
value: 'name', | ||
class: 'share-structure-header' | ||
}, | ||
{ text: 'Maximum Number of Shares', value: 'maxNumberOfShares' }, | ||
{ text: 'Par Value', value: 'parValue' }, | ||
{ text: 'Currency', value: 'currency' }, | ||
{ text: 'Special Rights or Restrictions', value: 'hasRightsOrRestrictions' }, | ||
{ text: 'Maximum Number of Shares', value: 'maxNumberOfShares', class: 'share-structure-header' }, | ||
{ text: 'Par Value', value: 'parValue', class: 'share-structure-header' }, | ||
{ text: 'Currency', value: 'currency', class: 'share-structure-header' }, | ||
{ text: 'Special Rights or Restrictions', value: 'hasRightsOrRestrictions', class: 'share-structure-header' }, | ||
{ text: '', value: 'actions' } | ||
] | ||
|
||
|
@@ -412,4 +437,14 @@ tbody { | |
.v-icon.mdi-information-outline { | ||
margin-top: -2px; | ||
} | ||
|
||
.share-structure-header { | ||
font-size: $px-14 !important; | ||
color: $gray9 !important; | ||
font-weight: bold !important; | ||
} | ||
|
||
.share-series-value { | ||
color: $gray7 !important; | ||
} | ||
</style> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
used
hide-default-header
to apply custom style.