wip
This commit is contained in:
9
resources/js/vendor/nova/js/additional.js
vendored
9
resources/js/vendor/nova/js/additional.js
vendored
@@ -36,6 +36,7 @@ async function fetchLoanHistory(containerID, passport_serie, passport_id) {
|
|||||||
|
|
||||||
if (recipients.length < 1) {
|
if (recipients.length < 1) {
|
||||||
Nova.error('Karz taryhy ýok')
|
Nova.error('Karz taryhy ýok')
|
||||||
|
cardHistoryDetailContainer.innerHTML = `<strong><h3>Karz taryhy ýok</h3></strong>`;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -97,6 +98,12 @@ async function fetchCardHistory(passport_serie, passport_id, card_number, card_e
|
|||||||
console.log({result: result})
|
console.log({result: result})
|
||||||
if (result.errCode != 0) {
|
if (result.errCode != 0) {
|
||||||
Nova.error(result.message)
|
Nova.error(result.message)
|
||||||
|
|
||||||
|
cardHistoryDetailContainer.innerHTML = `
|
||||||
|
<h3><strong>${result.message}</strong></h3>
|
||||||
|
`;
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
cardHistoryDetailContainer.innerHTML = `
|
cardHistoryDetailContainer.innerHTML = `
|
||||||
@@ -120,7 +127,7 @@ async function fetchCardHistory(passport_serie, passport_id, card_number, card_e
|
|||||||
}).replaceAll('/', '.')
|
}).replaceAll('/', '.')
|
||||||
}</strong></p>
|
}</strong></p>
|
||||||
</li>`;
|
</li>`;
|
||||||
})}
|
}) '<br />'}
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
</p>
|
||||||
`;
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user