This commit is contained in:
2024-10-01 20:19:13 +05:00
parent 9ff6a7ebea
commit 02adb1da6b

View File

@@ -29,7 +29,7 @@ async function fetchCardHistory() {
<p>
<ul>
${Array.from(result.transactions).map(transaction => {
return `<li style="background: #a3c1f5;color: black;" class="p-3 rounded-lg">
return `<li style="background: #a3c1f5;color: black;" class="p-3 relative rounded-lg">
<strong>${transaction['actionName']}</strong> <strong>${transaction['opersum']}</strong> <strong>${transaction['currency']}</strong>
<strong style="top: 0; right: 0;" class="absolute p-2">${transaction['opername']}</strong>
@@ -39,7 +39,7 @@ async function fetchCardHistory() {
year: 'numeric',
month: '2-digit',
day: '2-digit',
})
}).replaceAll('/', '.')
}</strong></p>
</li>`;
})}