feat:인계 완료 항목 영업/매니저 기록 조회 기능 추가
- 인계 완료 섹션에 영업/매니저 기록 조회 버튼 추가 - readonly 모드로 열어 수정 불가, 조회만 가능 - prospectManagerScenario에 readonly 파라미터 지원 추가 - 단계 이동 시 readonly 파라미터 유지 - 마지막 단계 버튼 텍스트 조건부 표시 (완료/닫기) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -228,6 +228,7 @@ public function prospectManagerScenario(int $prospectId, Request $request): View
|
||||
$steps = config('sales_scenario.manager_steps');
|
||||
$currentStep = (int) $request->input('step', 1);
|
||||
$icons = config('sales_scenario.icons');
|
||||
$readonly = $request->boolean('readonly', false);
|
||||
|
||||
// 가망고객 영업 관리 정보 조회 또는 생성
|
||||
$management = SalesTenantManagement::findOrCreateByProspect($prospectId);
|
||||
@@ -250,6 +251,7 @@ public function prospectManagerScenario(int $prospectId, Request $request): View
|
||||
'icons' => $icons,
|
||||
'management' => $management,
|
||||
'isProspect' => true,
|
||||
'readonly' => $readonly,
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -262,6 +264,7 @@ public function prospectManagerScenario(int $prospectId, Request $request): View
|
||||
'icons' => $icons,
|
||||
'management' => $management,
|
||||
'isProspect' => true,
|
||||
'readonly' => $readonly,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user