wip
This commit is contained in:
35
resources/js/vendor/nova/js/additional.js
vendored
35
resources/js/vendor/nova/js/additional.js
vendored
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user