wip
This commit is contained in:
6
resources/js/vendor/nova/js/additional.js
vendored
6
resources/js/vendor/nova/js/additional.js
vendored
@@ -19,16 +19,16 @@ async function fetchCardHistory() {
|
|||||||
})
|
})
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
.then(result => {
|
.then(result => {
|
||||||
if (response.errCode != 0) {
|
if (result.errCode != 0) {
|
||||||
Nova.error('Barlap bolmady, tor näsazlygy')
|
Nova.error('Barlap bolmady, tor näsazlygy')
|
||||||
}
|
}
|
||||||
|
|
||||||
cardHistoryDetailContainer.innerHTML = `
|
cardHistoryDetailContainer.innerHTML = `
|
||||||
<p>Şahamça: <strong>${response.depName}</strong></p>
|
<p>Şahamça: <strong>${result.depName}</strong></p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<ul>
|
<ul>
|
||||||
${Array.from(response.transactions).map(transaction => {
|
${Array.from(result.transactions).map(transaction => {
|
||||||
return 'hello';
|
return 'hello';
|
||||||
})}
|
})}
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user