Update
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user