feat(tkpurchase): 협력업체 포탈 3→2단계 흐름 단순화 + 작업 이력 페이지
- 체크아웃 시 work_report 자동 생성 (checkout-with-report 통합 엔드포인트) - 업무현황 입력 단계 제거, 작업자+시간만 입력하면 체크아웃 완료 - 협력업체 작업 이력 조회 페이지 신규 추가 (partner-history) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -132,7 +132,7 @@ function initAuth() {
|
||||
department_id: decoded.department_id || null
|
||||
};
|
||||
// 협력업체 계정 → partner-portal로 분기
|
||||
if (currentUser.partner_company_id && !location.pathname.includes('partner-portal')) {
|
||||
if (currentUser.partner_company_id && !location.pathname.includes('partner-portal') && !location.pathname.includes('partner-history')) {
|
||||
location.href = '/partner-portal.html';
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user