diff --git a/app/Http/Controllers/ConclusionController.php b/app/Http/Controllers/ConclusionController.php index eb5d911..dd925cb 100644 --- a/app/Http/Controllers/ConclusionController.php +++ b/app/Http/Controllers/ConclusionController.php @@ -106,10 +106,17 @@ class ConclusionController extends Controller $pdf->AddPage($size2['orientation'], [$size2['width'], $size2['height']]); $pdf->useTemplate($tpl); - // All pages: bottom-right corner, white background - $sz = 22; - $qrX = $size2['width'] - $sz - 8; - $qrY = $size2['height'] - $sz - 6; + if ($i === 1) { + // First page: right side, in the blank area below header separator lines + $sz = 35; + $qrX = $size2['width'] - $sz - 18; + $qrY = 15; + } else { + // Other pages: bottom-right + $sz = 22; + $qrX = $size2['width'] - $sz - 8; + $qrY = $size2['height'] - $sz - 6; + } $pdf->SetFillColor(255, 255, 255); $pdf->Rect($qrX - 1, $qrY - 1, $sz + 2, $sz + 2, 'F'); $pdf->Image($qrPath, $qrX, $qrY, $sz, $sz); diff --git a/storage/app/public/attachments/auto_7897/02657724-c207-4228-afde-d69c22facf85.pdf b/storage/app/public/attachments/auto_7897/02657724-c207-4228-afde-d69c22facf85.pdf new file mode 100644 index 0000000..600a896 Binary files /dev/null and b/storage/app/public/attachments/auto_7897/02657724-c207-4228-afde-d69c22facf85.pdf differ diff --git a/storage/app/public/attachments/auto_7897/80ea9615-ba57-4e63-a556-e589574e4ebb.pdf b/storage/app/public/attachments/auto_7897/80ea9615-ba57-4e63-a556-e589574e4ebb.pdf new file mode 100644 index 0000000..0039e00 Binary files /dev/null and b/storage/app/public/attachments/auto_7897/80ea9615-ba57-4e63-a556-e589574e4ebb.pdf differ diff --git a/storage/app/public/attachments/auto_7897/87d8fcf5-be2d-45e0-b415-665e5675974a.pdf b/storage/app/public/attachments/auto_7897/87d8fcf5-be2d-45e0-b415-665e5675974a.pdf new file mode 100644 index 0000000..b1ce395 Binary files /dev/null and b/storage/app/public/attachments/auto_7897/87d8fcf5-be2d-45e0-b415-665e5675974a.pdf differ diff --git a/storage/app/public/attachments/auto_7897/933e8a5c-0e23-4687-be10-9b9ef36b6a00.pdf b/storage/app/public/attachments/auto_7897/933e8a5c-0e23-4687-be10-9b9ef36b6a00.pdf new file mode 100644 index 0000000..9d9b4ea Binary files /dev/null and b/storage/app/public/attachments/auto_7897/933e8a5c-0e23-4687-be10-9b9ef36b6a00.pdf differ diff --git a/storage/app/public/attachments/auto_7897/b017e72b-3d80-444b-80be-4643d5288515.pdf b/storage/app/public/attachments/auto_7897/b017e72b-3d80-444b-80be-4643d5288515.pdf new file mode 100644 index 0000000..b9f766a Binary files /dev/null and b/storage/app/public/attachments/auto_7897/b017e72b-3d80-444b-80be-4643d5288515.pdf differ diff --git a/storage/app/public/attachments/auto_7897/c0c1a756-24f0-4d50-951a-5ce3f4ed3c9c.pdf b/storage/app/public/attachments/auto_7897/c0c1a756-24f0-4d50-951a-5ce3f4ed3c9c.pdf new file mode 100644 index 0000000..1f62367 Binary files /dev/null and b/storage/app/public/attachments/auto_7897/c0c1a756-24f0-4d50-951a-5ce3f4ed3c9c.pdf differ diff --git a/storage/app/public/attachments/auto_7897/qr.png b/storage/app/public/attachments/auto_7897/qr.png new file mode 100644 index 0000000..fd84b7f Binary files /dev/null and b/storage/app/public/attachments/auto_7897/qr.png differ