wip
This commit is contained in:
11
resources/js/vendor/nova/js/additional.js
vendored
11
resources/js/vendor/nova/js/additional.js
vendored
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user