Commit 5a1b919c by Mohammad Izzat Johari

refactor

parent d3d7f8cc
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
}, },
"require": { "require": {
"php": "^8.1", "php": "^8.1",
"illuminate/support": "^11.0" "illuminate/support": "^10.0|^11.0"
}, },
"extra": { "extra": {
"laravel": { "laravel": {
......
...@@ -401,13 +401,6 @@ class Pkcs11Command ...@@ -401,13 +401,6 @@ class Pkcs11Command
$fpdi->AddPage($orientation, [$size['width'], $size['height']]); $fpdi->AddPage($orientation, [$size['width'], $size['height']]);
$fpdi->useTemplate($tplIdx); $fpdi->useTemplate($tplIdx);
// Watermark text
$fpdi->SetFont('Arial', '', 12);
$fpdi->SetTextColor(150, 150, 150);
$fpdi->SetXY(20, $size['height'] - 20);
$fpdi->Write(0, 'Confidential — ' .
('Guest') .
' — ' . now()->toDateTimeString());
} }
// Output to string (S = string) // Output to string (S = string)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment