Added current date logic in sticker pdf service
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 28s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 17s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 46s
Laravel Larastan / larastan (pull_request) Failing after 5m10s
Laravel Pint / pint (pull_request) Successful in 6m15s

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),