From 1767944a145737c3845ad6f08bbefbf6907fcee0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=ED=98=81=EC=84=B1?= Date: Fri, 20 Mar 2026 14:32:24 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[document]=20formatTemplateForReact=20?= =?UTF-8?q?=ED=81=B4=EB=A1=9C=EC=A0=80=EC=97=90=20$methodCodes=20=EB=88=84?= =?UTF-8?q?=EB=9D=BD=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - use ($methodCodes) 추가하여 검사방식 한글 변환 정상화 --- app/Services/DocumentService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/DocumentService.php b/app/Services/DocumentService.php index d70b47f2..75cbb549 100644 --- a/app/Services/DocumentService.php +++ b/app/Services/DocumentService.php @@ -977,7 +977,7 @@ public function formatTemplateForReact(DocumentTemplate $template): array 'is_required' => $field->is_required, 'sort_order' => $field->sort_order, ])->toArray(), - 'sections' => $template->sections->map(function ($section) { + 'sections' => $template->sections->map(function ($section) use ($methodCodes) { $imageUrl = null; if ($section->file_id) { $file = \App\Models\Commons\File::withoutGlobalScopes()->find($section->file_id);