feat: 문서 양식 관리 및 수입검사 양식 개선

- 문서 양식 API 컨트롤러 및 뷰 개선
- 수입검사 양식 시더 업데이트
- 문서 미리보기 뷰 개선

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-07 03:27:32 +09:00
parent b1b4070fe4
commit 16fb78fe5e
7 changed files with 155 additions and 41 deletions

View File

@@ -12,7 +12,7 @@
class IncomingInspectionTemplateSeeder extends Seeder
{
private int $tenantId = 1;
private int $tenantId = 287;
public function run(): void
{
@@ -97,6 +97,7 @@ private function getTemplateDefinitions(): array
'method' => '공급업체 밀시트',
'frequency' => '입고시',
'regulation' => 'KS D 3528',
'field_values' => ['reference_attribute' => 'thickness'],
],
[
'category' => '도금',
@@ -296,4 +297,4 @@ private function cleanupExisting(string $name): void
DocumentTemplateApprovalLine::where('template_id', $existing->id)->delete();
$existing->forceDelete();
}
}
}