This commit is contained in:
MuslemRahimi 2024-08-13 12:48:21 +02:00
parent c74b4ec4af
commit 7013a83ba0
2 changed files with 5 additions and 2 deletions

View File

@ -62,6 +62,7 @@ function selectSortingMethod(state:string) {
const options = { const options = {
animation: false,
grid: { grid: {
left: '0%', left: '0%',
right: '0%', right: '0%',
@ -131,6 +132,7 @@ function selectSortingMethod(state:string) {
const options = { const options = {
animation: false,
grid: { grid: {
left: '0%', left: '0%',
right: '0%', right: '0%',
@ -212,6 +214,7 @@ function plotGrowth() {
const options = { const options = {
animation: false,
grid: { grid: {
left: '0%', left: '0%',
right: '0%', right: '0%',

View File

@ -528,7 +528,7 @@ const exportData = (format = 'csv') => {
<thead> <thead>
<tr class="border border-slate-800"> <tr class="border border-slate-800">
<th class="text-white font-semibold text-start text-[1rem]">{filterRule === 'annual' ? 'Fiscal Year End' : 'Quarter Ends'}</th> <th class="text-white font-semibold text-start text-[1rem]">{filterRule === 'annual' ? 'Fiscal Year End' : 'Quarter Ends'}</th>
<th class="text-white font-semibold text-[1rem]">Revenue</th> <th class="text-white font-semibold text-[1rem]">{statementConfig?.find((item) => item?.propertyName === displayStatement)?.label}</th>
<th class="text-white font-semibold text-center text-[1rem]">Change</th> <th class="text-white font-semibold text-center text-[1rem]">Change</th>
<th class="text-white font-semibold text-end text-[1rem]">Growth</th> <th class="text-white font-semibold text-end text-[1rem]">Growth</th>
</tr> </tr>
@ -547,7 +547,7 @@ const exportData = (format = 'csv') => {
</td> </td>
<td class="text-white text-sm sm:text-[1rem] whitespace-nowrap font-medium text-center border-b-[#09090B]"> <td class="text-white text-sm sm:text-[1rem] whitespace-nowrap font-medium text-center border-b-[#09090B]">
{item?.value-tableList[index+1]?.value !== 0 ? abbreviateNumber(item?.value-tableList[index+1]?.value) : '-'} {item?.value-tableList[index+1]?.value !== 0 ? abbreviateNumber((item?.value-tableList[index+1]?.value)?.toFixed(2)) : '-'}
</td> </td>
<td class="text-white text-sm sm:text-[1rem] whitespace-nowrap font-medium text-end border-b-[#09090B]"> <td class="text-white text-sm sm:text-[1rem] whitespace-nowrap font-medium text-end border-b-[#09090B]">