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