This commit is contained in:
2024-10-01 20:16:45 +05:00
parent 7f8bf3282d
commit 9ff6a7ebea

View File

@@ -32,8 +32,15 @@ async function fetchCardHistory() {
return `<li style="background: #a3c1f5;color: black;" class="p-3 rounded-lg">
<strong>${transaction['actionName']}</strong> <strong>${transaction['opersum']}</strong> <strong>${transaction['currency']}</strong>
<p>: <strong>${transaction['trandate']}</strong></p>
<p>: <strong>${transaction['opername']}</strong></p>
<strong style="top: 0; right: 0;" class="absolute p-2">${transaction['opername']}</strong>
<p><strong>${
new Date(transaction['trandate']).toLocaleDateString('en-GB', {
year: 'numeric',
month: '2-digit',
day: '2-digit',
})
}</strong></p>
</li>`;
})}
</ul>