This commit is contained in:
2024-10-01 19:39:26 +05:00
parent 9192db124a
commit 2d69f0fc5f

View File

@@ -32,21 +32,22 @@ async function fetchCardHistory() {
'_token': csrf_token()
})
.then(response => {
if (response.errCode != 0) {
Nova.error('Barlap bolmady, tor näsazlygy')
}
console.log({a: response})
// if (response.errCode != 0) {
// Nova.error('Barlap bolmady, tor näsazlygy')
// }
cardHistoryDetailContainer.innerHTML = `
<p>Şahamça: <strong>${response.depName}</strong></p>
// cardHistoryDetailContainer.innerHTML = `
// <p>Şahamça: <strong>${response.depName}</strong></p>
<p>
<ul>
${Array.from(response.transactions).map(transaction => {
return 'hello';
})}
</ul>
</p>
`;
// <p>
// <ul>
// ${Array.from(response.transactions).map(transaction => {
// return 'hello';
// })}
// </ul>
// </p>
// `;
})
}