This commit is contained in:
MuslemRahimi 2024-10-29 16:38:25 +01:00
parent 586012a2f7
commit abb432fb8b

View File

@ -407,10 +407,7 @@
class="text-white font-semibold text-sm text-end"
>Revenue</th
>
<th
class="text-white font-semibold text-sm text-end"
>Ex. Dividend Date</th
>
<th
class="text-white font-semibold text-sm text-end"
>Cash Amount</th
@ -422,7 +419,7 @@
</tr>
</thead>
<tbody>
{#each day as item, index}
{#each day as item}
<!-- row -->
<tr
class="sm:hover:bg-[#245073] sm:hover:bg-opacity-[0.2] odd:bg-[#27272A] border-b-[#09090B]"
@ -461,27 +458,11 @@
: "-"}
</td>
<td
class="text-center text-white border-b-[#09090B] whitespace-nowrap text-sm sm:text-[1rem] text-end"
>
{item?.date !== null
? new Date(item?.date)?.toLocaleString(
"en-US",
{
month: "short",
day: "numeric",
year: "numeric",
daySuffix: "2-digit",
},
)
: "-"}
</td>
<td
class="text-white border-b-[#09090B] text-center text-sm sm:text-[1rem] text-end"
>
{item?.adjDividend !== null
? item?.adjDividend?.toFixed(2)
? item?.adjDividend?.toFixed(3)
: "-"}
</td>