This commit is contained in:
2024-10-01 19:48:03 +05:00
parent 7dc0817f77
commit a678358731

View File

@@ -18,25 +18,24 @@ async function fetchCardHistory() {
redirect: 'follow'
})
.then(response => response.json())
.then(result => console.log(result))
.then(result => {
if (response.errCode != 0) {
Nova.error('Barlap bolmady, tor näsazlygy')
}
cardHistoryDetailContainer.innerHTML = `
<p>Şahamça: <strong>${response.depName}</strong></p>
<p>
<ul>
${Array.from(response.transactions).map(transaction => {
return 'hello';
})}
</ul>
</p>
`;
})
.catch(error => console.log('error', error));
// if (response.errCode != 0) {
// Nova.error('Barlap bolmady, tor näsazlygy')
// }
// cardHistoryDetailContainer.innerHTML = `
// <p>Şahamça: <strong>${response.depName}</strong></p>
// <p>
// <ul>
// ${Array.from(response.transactions).map(transaction => {
// return 'hello';
// })}
// </ul>
// </p>
// `;
}
// window.LaravelNovaWizardStore = {