Update index.html
Browse files- index.html +1 -2
index.html
CHANGED
|
@@ -1427,9 +1427,8 @@
|
|
| 1427 |
document.getElementById('alienReferenceReceipt').innerHTML = worker.alienReferenceNumber || 'N/A';
|
| 1428 |
document.getElementById('personalIDReceipt').innerHTML = worker.personalID || 'N/A';
|
| 1429 |
setImageSrc('profilePic', worker.profileImage, defaultProfileSrc, worker.englishName, 'profile picture');
|
| 1430 |
-
|
| 1431 |
-
const currentUrl = window.location.href;
|
| 1432 |
|
|
|
|
| 1433 |
const workerPageUrl = `${currentDomain}/worker.html?id=${encodeURIComponent(worker.requestNumber || '')}`;
|
| 1434 |
const receiptUrl = `${currentDomain}/pdf.html?id=${encodeURIComponent(worker.requestNumber || '')}`;
|
| 1435 |
|
|
|
|
| 1427 |
document.getElementById('alienReferenceReceipt').innerHTML = worker.alienReferenceNumber || 'N/A';
|
| 1428 |
document.getElementById('personalIDReceipt').innerHTML = worker.personalID || 'N/A';
|
| 1429 |
setImageSrc('profilePic', worker.profileImage, defaultProfileSrc, worker.englishName, 'profile picture');
|
|
|
|
|
|
|
| 1430 |
|
| 1431 |
+
const currentDomain = window.location.origin;
|
| 1432 |
const workerPageUrl = `${currentDomain}/worker.html?id=${encodeURIComponent(worker.requestNumber || '')}`;
|
| 1433 |
const receiptUrl = `${currentDomain}/pdf.html?id=${encodeURIComponent(worker.requestNumber || '')}`;
|
| 1434 |
|