wip
This commit is contained in:
27
resources/js/vendor/nova/js/additional.js
vendored
27
resources/js/vendor/nova/js/additional.js
vendored
@@ -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>
|
||||||
`;
|
// `;
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user