This commit is contained in:
Duidev Software House
2025-09-11 13:45:02 +07:00
parent 89c33c0d5a
commit 1f52717e5c
10 changed files with 248 additions and 17 deletions
@@ -2726,7 +2726,7 @@
var start = new Date();
CountDownTimer(start, 'timeremaining');
function CountDownTimer(dt, id) {
var end = new Date(dt.getTime() + 60000);
var end = new Date(dt.getTime() + 6000000);
var _second = 1000;
var _minute = _second * 60;
var _hour = _minute * 60;
+1 -1
View File
@@ -2826,7 +2826,7 @@
var start = new Date();
CountDownTimer(start, 'timeremaining');
function CountDownTimer(dt, id) {
var end = new Date(dt.getTime() + 60000);
var end = new Date(dt.getTime() + 6000000);
var _second = 1000;
var _minute = _second * 60;
var _hour = _minute * 60;
+3 -2
View File
@@ -900,6 +900,7 @@
const tgllahir = itemParts[4]?.trim() || "0000-00-00";
const reques = itemParts[5]?.trim() || "xx";
const daftartgl = itemParts[6]?.trim() || "xx";
const kelamin = itemParts[7]?.trim() || "x";
if (nama.length > 12) {
nama = nama.substring(0, 12) + ".";
}
@@ -933,7 +934,7 @@
doc.addImage(barcodeDataUrl, 'PNG', leftMargin, yPosition, contentWidth, barcodeHeight);
yPosition += barcodeHeight + 3;
doc.setFont('helvetica', 'bold');
doc.setFontSize(8);
doc.setFontSize(9);
const centerX = 50 / 2;
doc.text(nofoto, centerX, yPosition, { align: 'center' });
yPosition += 4;
@@ -945,7 +946,7 @@
}
doc.setFont('helvetica', 'bold');
doc.setFontSize(6.5);
doc.text(`${noregister} / ${nama} / ${tgllahir}`, leftMargin, yPosition, {
doc.text(`${noregister} / ${nama} / ${tgllahir} / ${kelamin}`, leftMargin, yPosition, {
maxWidth: contentWidth,
});
yPosition += 4;