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()
|
||||
})
|
||||
.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