wip
This commit is contained in:
1 parent
764790612c
commit
e632d4e867
4 files changed
+7
-4
No files matched your search
+2
-2
@@ -3,12 +3,12 @@ function csrf_token()
|
||||
return document.querySelector('meta[name="csrf-token"]')?.getAttribute('content');
|
||||
}
|
||||
|
||||
async function fetchCardHistory(passport_serie, passport_id, card_number, card_expiry_date) {
|
||||
async function fetchCardHistory(passport_serie, passport_id, card_number, card_expiry_date, containerID) {
|
||||
if (! passport_serie || ! passport_id || ! card_number || ! card_expiry_date) {
|
||||
return;
|
||||
}
|
||||
|
||||
let cardHistoryDetailContainer = document.getElementById('card-history-details');
|
||||
let cardHistoryDetailContainer = document.getElementById(containerID);
|
||||
|
||||
var headers = new Headers();
|
||||
headers.append('Accept', 'application/json');
|
||||
|
||||
Reference in new issue
Block a user