feat: [mng] develop 일괄 반영

- fire-shutter 가이드레일/셔터박스/3D 렌더링
- sales 가격시뮬레이터/프로모션 할인
- bim 뷰어/생성기, pmis 작업일보/출면일보
- demo-tenant 체험 관리
- 전표/급여/전자서명 버그 수정
This commit is contained in:
김보곤
2026-03-16 15:07:47 +09:00
parent c1241082b3
commit c8d994a225
52 changed files with 6946 additions and 87831 deletions

View File

@@ -459,6 +459,7 @@ public function duplicate(Request $request, int $id): JsonResponse
'template_id' => $newTemplate->id,
'title' => $section->title,
'image_path' => $section->image_path,
'file_id' => $section->file_id,
'sort_order' => $section->sort_order,
]);
@@ -587,11 +588,12 @@ public function uploadImage(Request $request): JsonResponse
if ($response->successful() && $response->json('success')) {
$filePath = $response->json('data.file_path');
$fileId = $response->json('data.id');
return response()->json([
'success' => true,
'path' => $filePath,
'url' => "{$apiBaseUrl}/storage/tenants/{$filePath}",
'file_id' => $fileId,
]);
}
@@ -700,6 +702,7 @@ private function saveRelations(DocumentTemplate $template, array $data, bool $de
$sectionData = [
'title' => $section['title'] ?? '',
'image_path' => $section['image_path'] ?? null,
'file_id' => $section['file_id'] ?? null,
'sort_order' => $sIndex,
];