wip
This commit is contained in:
1 parent
9192db124a
commit
2d69f0fc5f
1 file changed
+14
-13
+14
-13
@@ -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>
|
||||
// `;
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user