feat:매니저 지정 시 동적 UI 업데이트 구현
- 가망고객 행을 별도 partial(prospect-row.blade.php)로 분리
- 매니저 드롭다운에서 선택 시 HTMX로 해당 행만 새로고침
- 컨트롤러에 getProspectRow 메서드 추가
- 라우트 추가: salesmanagement/dashboard/prospect/{id}/row
이제 매니저 지정 후 새로고침 없이 화면이 동적으로 업데이트됩니다.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -896,6 +896,16 @@ public function helpGuide(): View
|
||||
return view('sales.dashboard.partials.help-modal', compact('htmlContent'));
|
||||
}
|
||||
|
||||
/**
|
||||
* 가망고객 개별 행 반환 (HTMX 동적 업데이트용)
|
||||
*/
|
||||
public function getProspectRow(int $prospectId): View
|
||||
{
|
||||
$prospect = TenantProspect::findOrFail($prospectId);
|
||||
|
||||
return view('sales.dashboard.partials.prospect-row', compact('prospect'));
|
||||
}
|
||||
|
||||
/**
|
||||
* 예상 수당 요약 계산 (개발 진행중 + 인계완료 미지급)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user