fix: [approvals] 위촉증명서 PDF 상단 여백 축소 (전체 위치 상향)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user