fix: [approvals] 위촉증명서 PDF 상단 여백 축소 (전체 위치 상향)

This commit is contained in:
김보곤
2026-03-06 17:40:56 +09:00
parent e963b5a2dc
commit 457576f2f5

View File

@@ -69,7 +69,7 @@ public function generatePdfResponse(array $content): \Illuminate\Http\Response
$pdf->setPrintHeader(false);
$pdf->setPrintFooter(false);
$pdf->SetMargins(20, 40, 20);
$pdf->SetMargins(20, 20, 20);
$pdf->SetAutoPageBreak(true, 20);
$font = $this->getKoreanFont();
@@ -77,12 +77,12 @@ public function generatePdfResponse(array $content): \Illuminate\Http\Response
$pdf->AddPage();
// 상단 여백
$pdf->Ln(20);
$pdf->Ln(10);
// 제목
$pdf->SetFont($font, 'B', 22);
$pdf->Cell(0, 20, '위 촉 증 명 서', 0, 1, 'C');
$pdf->Ln(20);
$pdf->Ln(14);
$pageWidth = $pdf->getPageWidth() - 40;
$thWidth = 30;