1
0
forked from poc/pds

Added current date logic in sticker pdf service

This commit is contained in:
dhanabalan
2026-08-13 11:13:07 +05:30
parent ea0c4fcf31
commit 73627bd7f9

View File

@@ -889,6 +889,9 @@ class StickerPdfService
if ($row->characteristics_type == 'plant_address') {
$textValue = $plantAddress ?? '';
}
if ($row->characteristics_type == 'current_date') {
$textValue = date('M-y');
}
$pdf->Text(
(float) ($row->string_x_value ?? 0),