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() '_token': csrf_token()
}) })
.then(response => { .then(response => {
if (response.errCode != 0) { console.log({a: response})
Nova.error('Barlap bolmady, tor näsazlygy') // if (response.errCode != 0) {
} // Nova.error('Barlap bolmady, tor näsazlygy')
// }
cardHistoryDetailContainer.innerHTML = ` // cardHistoryDetailContainer.innerHTML = `
<p>Şahamça: <strong>${response.depName}</strong></p> // <p>Şahamça: <strong>${response.depName}</strong></p>
<p> // <p>
<ul> // <ul>
${Array.from(response.transactions).map(transaction => { // ${Array.from(response.transactions).map(transaction => {
return 'hello'; // return 'hello';
})} // })}
</ul> // </ul>
</p> // </p>
`; // `;
}) })
} }