diff --git a/app/Http/Controllers/Lab/ManagementController.php b/app/Http/Controllers/Lab/ManagementController.php deleted file mode 100644 index c70ae54f..00000000 --- a/app/Http/Controllers/Lab/ManagementController.php +++ /dev/null @@ -1,174 +0,0 @@ - M. 관리 메뉴 컨트롤러 - */ -class ManagementController extends Controller -{ - public function __construct( - private SalesScenarioService $salesScenarioService - ) {} - - /** - * Presentation 레이아웃 페이지를 위한 HX-Redirect 처리 - * (presentation 레이아웃은 #main-content가 없어서 HTMX swap 불가) - */ - private function handlePresentationPage(Request $request, string $routeName): ?Response - { - if ($request->header('HX-Request')) { - return response('', 200)->header('HX-Redirect', route($routeName)); - } - return null; - } - - // 바로빌 테넌트 관리 - public function barobillTenant(Request $request): View|Response - { - if ($redirect = $this->handlePresentationPage($request, 'lab.management.barobill-tenant')) { - return $redirect; - } - return view('lab.management.barobill-tenant'); - } - - // 전자세금계산서 전략 - public function taxInvoiceStrategy(Request $request): View|Response - { - if ($redirect = $this->handlePresentationPage($request, 'lab.management.tax-invoice-strategy')) { - return $redirect; - } - return view('lab.management.tax-invoice-strategy'); - } - - // 전자세금계산서 - public function taxInvoice(Request $request): View|Response - { - if ($redirect = $this->handlePresentationPage($request, 'lab.management.tax-invoice')) { - return $redirect; - } - return view('lab.management.tax-invoice'); - } - - // 사업자등록번호 진위 확인 - public function businessVerify(Request $request): View|Response - { - if ($redirect = $this->handlePresentationPage($request, 'lab.management.business-verify')) { - return $redirect; - } - return view('lab.management.business-verify'); - } - - // 영업관리 & 매니저 미팅관리 - public function salesMeeting(Request $request): View|Response - { - if ($redirect = $this->handlePresentationPage($request, 'lab.management.sales-meeting')) { - return $redirect; - } - return view('lab.management.sales-meeting'); - } - - // 카드 세무항목 매칭 전략 - public function cardTaxMatching(Request $request): View|Response - { - if ($redirect = $this->handlePresentationPage($request, 'lab.management.card-tax-matching')) { - return $redirect; - } - return view('lab.management.card-tax-matching'); - } - - // 카드 사용내역 수집 후 매칭 - public function cardUsageMatching(Request $request): View|Response - { - if ($redirect = $this->handlePresentationPage($request, 'lab.management.card-usage-matching')) { - return $redirect; - } - return view('lab.management.card-usage-matching'); - } - - // 계좌입출금 내역 조회 API - public function accountApi(Request $request): View|Response - { - if ($redirect = $this->handlePresentationPage($request, 'lab.management.account-api')) { - return $redirect; - } - return view('lab.management.account-api'); - } - - // 영업관리 시나리오 - public function salesScenario() - { - $steps = SalesScenarioService::getScenarioSteps(); - $user = auth()->user(); - $checklist = $user ? $this->salesScenarioService->getUserChecklist($user) : []; - $progress = $user ? $this->salesScenarioService->getOverallProgress($user) : ['total' => 0, 'checked' => 0, 'percent' => 0]; - - return view('lab.management.sales-scenario', compact('steps', 'checklist', 'progress')); - } - - // 영업관리 시나리오 체크리스트 조회 API - public function salesScenarioChecklist(): JsonResponse - { - $user = auth()->user(); - - if (! $user) { - return response()->json(['success' => false, 'message' => '인증이 필요합니다.'], 401); - } - - $data = $this->salesScenarioService->getUserChecklist($user); - $progress = $this->salesScenarioService->getOverallProgress($user); - - return response()->json([ - 'success' => true, - 'data' => $data, - 'progress' => $progress, - ]); - } - - // 영업관리 시나리오 체크포인트 토글 API - public function salesScenarioToggle(Request $request): JsonResponse - { - $user = auth()->user(); - - if (! $user) { - return response()->json(['success' => false, 'message' => '인증이 필요합니다.'], 401); - } - - $validated = $request->validate([ - 'step_id' => 'required|integer|min:1|max:6', - 'checkpoint_index' => 'required|integer|min:0', - 'is_checked' => 'required|boolean', - ]); - - $checkedIndices = $this->salesScenarioService->toggleCheckpoint( - $user, - $validated['step_id'], - $validated['checkpoint_index'], - $validated['is_checked'] - ); - - $progress = $this->salesScenarioService->getOverallProgress($user); - - return response()->json([ - 'success' => true, - 'data' => $checkedIndices, - 'progress' => $progress, - ]); - } - - // 매니저 시나리오 - public function managerScenario(Request $request): View|Response - { - if ($redirect = $this->handlePresentationPage($request, 'lab.management.manager-scenario')) { - return $redirect; - } - return view('lab.management.manager-scenario'); - } -} diff --git a/resources/views/lab/management/account-api.blade.php b/resources/views/lab/management/account-api.blade.php deleted file mode 100644 index b31a8cf4..00000000 --- a/resources/views/lab/management/account-api.blade.php +++ /dev/null @@ -1,62 +0,0 @@ -@extends('layouts.presentation') - -@section('title', '계좌입출금 내역 조회 API') - -@push('styles') - -@endpush - -@section('content') -
-
-
- - - -

계좌입출금 내역 조회 API

-

- 은행 계좌의 입출금 내역을 실시간으로 - 조회하고 관리하는 API 서비스입니다. -

-
Management
-
- -
-
-

- - - - - 예정 기능 -

-
-
-

내역 조회

-
    -
  • • 실시간 잔액 조회
  • -
  • • 기간별 거래 내역
  • -
  • • 다중 계좌 관리
  • -
-
-
-

데이터 활용

-
    -
  • • 자동 전표 생성
  • -
  • • 입금 확인 자동화
  • -
  • • 현금흐름 분석
  • -
-
-
-
-
-
-
-@endsection diff --git a/resources/views/lab/management/barobill-tenant.blade.php b/resources/views/lab/management/barobill-tenant.blade.php deleted file mode 100644 index 67c23df0..00000000 --- a/resources/views/lab/management/barobill-tenant.blade.php +++ /dev/null @@ -1,62 +0,0 @@ -@extends('layouts.presentation') - -@section('title', '바로빌 테넌트 관리') - -@push('styles') - -@endpush - -@section('content') -
-
-
- - - -

바로빌 테넌트 관리

-

- 바로빌 API 연동을 위한 테넌트별 설정 및 - 인증 정보를 관리하는 시스템입니다. -

-
Management
-
- -
-
-

- - - - - 예정 기능 -

-
-
-

테넌트 설정

-
    -
  • • 바로빌 API 키 관리
  • -
  • • 테넌트별 인증 설정
  • -
  • • 사용 권한 관리
  • -
-
-
-

연동 현황

-
    -
  • • API 호출 통계
  • -
  • • 오류 로그 모니터링
  • -
  • • 연동 상태 대시보드
  • -
-
-
-
-
-
-
-@endsection diff --git a/resources/views/lab/management/business-verify.blade.php b/resources/views/lab/management/business-verify.blade.php deleted file mode 100644 index 4a494849..00000000 --- a/resources/views/lab/management/business-verify.blade.php +++ /dev/null @@ -1,62 +0,0 @@ -@extends('layouts.presentation') - -@section('title', '사업자등록번호 진위 확인') - -@push('styles') - -@endpush - -@section('content') -
-
-
- - - -

사업자등록번호 진위 확인

-

- 국세청 API를 통해 사업자등록번호의 - 진위 여부와 휴폐업 상태를 확인합니다. -

-
Management
-
- -
-
-

- - - - - 예정 기능 -

-
-
-

진위 확인

-
    -
  • • 실시간 진위 조회
  • -
  • • 휴폐업 상태 확인
  • -
  • • 과세 유형 확인
  • -
-
-
-

일괄 처리

-
    -
  • • 대량 조회 지원
  • -
  • • Excel 업로드/다운로드
  • -
  • • 조회 이력 관리
  • -
-
-
-
-
-
-
-@endsection diff --git a/resources/views/lab/management/card-tax-matching.blade.php b/resources/views/lab/management/card-tax-matching.blade.php deleted file mode 100644 index d90c13db..00000000 --- a/resources/views/lab/management/card-tax-matching.blade.php +++ /dev/null @@ -1,62 +0,0 @@ -@extends('layouts.presentation') - -@section('title', '카드 세무항목 매칭 전략') - -@push('styles') - -@endpush - -@section('content') -
-
-
- - - -

카드 세무항목 매칭 전략

-

- 카드 사용내역을 세무 항목과 자동으로 매칭하여 - 세무 처리를 효율화하는 전략입니다. -

-
Management
-
- -
-
-

- - - - - 예정 기능 -

-
-
-

자동 매칭

-
    -
  • • AI 기반 분류
  • -
  • • 가맹점별 규칙 설정
  • -
  • • 학습 기반 개선
  • -
-
-
-

세무 연계

-
    -
  • • 비용 항목 자동 분류
  • -
  • • 증빙 자료 연결
  • -
  • • 월별 정산 리포트
  • -
-
-
-
-
-
-
-@endsection diff --git a/resources/views/lab/management/card-usage-matching.blade.php b/resources/views/lab/management/card-usage-matching.blade.php deleted file mode 100644 index 1ce14f74..00000000 --- a/resources/views/lab/management/card-usage-matching.blade.php +++ /dev/null @@ -1,62 +0,0 @@ -@extends('layouts.presentation') - -@section('title', '카드 사용내역 수집 후 매칭') - -@push('styles') - -@endpush - -@section('content') -
-
-
- - - -

카드 사용내역 수집 후 매칭

-

- 카드 사용내역을 자동으로 수집하고 - 거래처/품목과 매칭하는 시스템입니다. -

-
Management
-
- -
-
-

- - - - - 예정 기능 -

-
-
-

데이터 수집

-
    -
  • • 카드사 연동 수집
  • -
  • • 스크래핑 방식 지원
  • -
  • • 실시간 동기화
  • -
-
-
-

매칭 처리

-
    -
  • • 거래처 자동 매칭
  • -
  • • 계정과목 분류
  • -
  • • 예외 처리 관리
  • -
-
-
-
-
-
-
-@endsection diff --git a/resources/views/lab/management/manager-scenario.blade.php b/resources/views/lab/management/manager-scenario.blade.php deleted file mode 100644 index c0dd4656..00000000 --- a/resources/views/lab/management/manager-scenario.blade.php +++ /dev/null @@ -1,62 +0,0 @@ -@extends('layouts.presentation') - -@section('title', '매니저 시나리오') - -@push('styles') - -@endpush - -@section('content') -
-
-
- - - -

매니저 시나리오

-

- 매니저 역할에 맞는 업무 시나리오와 - 의사결정 가이드를 제공합니다. -

-
Management
-
- -
-
-

- - - - - 예정 기능 -

-
-
-

매니저 업무

-
    -
  • • 팀원 관리 시나리오
  • -
  • • 성과 평가 가이드
  • -
  • • 리포팅 프로세스
  • -
-
-
-

의사결정 지원

-
    -
  • • 승인 워크플로우
  • -
  • • 예외 처리 가이드
  • -
  • • 이슈 에스컬레이션
  • -
-
-
-
-
-
-
-@endsection diff --git a/resources/views/lab/management/partials/sales-scenario-icon.blade.php b/resources/views/lab/management/partials/sales-scenario-icon.blade.php deleted file mode 100644 index 3b8803da..00000000 --- a/resources/views/lab/management/partials/sales-scenario-icon.blade.php +++ /dev/null @@ -1,14 +0,0 @@ -@php -$iconMap = [ - 'search' => '', - 'phone-call' => '', - 'stethoscope' => '', - 'presentation' => '', - 'scale' => '', - 'pen-tool' => '', -]; -$path = $iconMap[$icon] ?? $iconMap['search']; -@endphp - - {!! $path !!} - diff --git a/resources/views/lab/management/sales-meeting.blade.php b/resources/views/lab/management/sales-meeting.blade.php deleted file mode 100644 index d7595b62..00000000 --- a/resources/views/lab/management/sales-meeting.blade.php +++ /dev/null @@ -1,62 +0,0 @@ -@extends('layouts.presentation') - -@section('title', '영업관리 & 매니저 미팅관리') - -@push('styles') - -@endpush - -@section('content') -
-
-
- - - -

영업관리 & 매니저 미팅관리

-

- 영업 활동과 매니저 미팅을 체계적으로 - 관리하고 추적하는 통합 시스템입니다. -

-
Management
-
- -
-
-

- - - - - 예정 기능 -

-
-
-

영업 관리

-
    -
  • • 영업 활동 기록
  • -
  • • 파이프라인 관리
  • -
  • • 성과 대시보드
  • -
-
-
-

미팅 관리

-
    -
  • • 미팅 일정 관리
  • -
  • • 미팅 노트 기록
  • -
  • • 후속 조치 추적
  • -
-
-
-
-
-
-
-@endsection diff --git a/resources/views/lab/management/sales-scenario.blade.php b/resources/views/lab/management/sales-scenario.blade.php deleted file mode 100644 index a1e4cd29..00000000 --- a/resources/views/lab/management/sales-scenario.blade.php +++ /dev/null @@ -1,610 +0,0 @@ -@extends('layouts.app') - -@section('title', 'SAM 영업 시나리오') - -@push('styles') - -@endpush - -@section('content') -
- -
-
-

SAM 영업 시나리오

-

성공적인 영업을 위한 6단계 프로세스 가이드

-
- v1.0 Standard -
- - -
-
-
-
-
-

전체 진행 현황

-

모든 단계의 체크포인트를 완료하여 영업 성공률을 높이세요.

-
-
- {{ $progress['percent'] }}% - 완료 -
-
-
-
-
-
- 시작 - {{ $progress['checked'] }} / {{ $progress['total'] }} 항목 완료 - 완료 -
-
- -
-
- - -
- @foreach($steps as $step) - @php - $stepChecked = isset($checklist[$step['id']]) ? count($checklist[$step['id']]) : 0; - $stepTotal = count($step['checkpoints']); - $stepPercent = $stepTotal > 0 ? round(($stepChecked / $stepTotal) * 100) : 0; - @endphp -
-
- -
{{ $step['id'] }}
- -
- @include('lab.management.partials.sales-scenario-icon', ['icon' => $step['icon']]) -
- -

{{ $step['title'] }}

-

{{ $step['subtitle'] }}

-

{{ $step['description'] }}

-
- -
-
- 진행률 - {{ $stepPercent }}% -
-
-
-
-
-
- @endforeach -
- - -
- @foreach($steps as $step) -
-
- -
-
-
- STEP {{ $step['id'] }} -
-

{{ $step['title'] }}

-

{{ $step['subtitle'] }}

-
-

{{ $step['description'] }}

-
-

- - - - Sales Tip -

-

"{{ $step['tips'] }}"

-
-
- - -
-

- - - - 핵심 체크포인트 -

-
- @foreach($step['checkpoints'] as $idx => $checkpoint) -
- - - -
- @endforeach -
-
-
-
- @endforeach -
-
- - - -@endsection - -@push('scripts') - -@endpush \ No newline at end of file diff --git a/resources/views/lab/management/tax-invoice-strategy.blade.php b/resources/views/lab/management/tax-invoice-strategy.blade.php deleted file mode 100644 index e47ef752..00000000 --- a/resources/views/lab/management/tax-invoice-strategy.blade.php +++ /dev/null @@ -1,62 +0,0 @@ -@extends('layouts.presentation') - -@section('title', '전자세금계산서 전략') - -@push('styles') - -@endpush - -@section('content') -
-
-
- - - -

전자세금계산서 전략

-

- 전자세금계산서 발행/수취 자동화 및 - 세무 업무 효율화 전략을 수립합니다. -

-
Management
-
- -
-
-

- - - - - 예정 기능 -

-
-
-

발행 자동화

-
    -
  • • 거래처별 자동 발행
  • -
  • • 주기적 발행 스케줄
  • -
  • • 대량 발행 처리
  • -
-
-
-

수취 관리

-
    -
  • • 자동 수취 확인
  • -
  • • 매입 세금계산서 매칭
  • -
  • • 부가세 신고 연계
  • -
-
-
-
-
-
-
-@endsection diff --git a/resources/views/lab/management/tax-invoice.blade.php b/resources/views/lab/management/tax-invoice.blade.php deleted file mode 100644 index e1f4865f..00000000 --- a/resources/views/lab/management/tax-invoice.blade.php +++ /dev/null @@ -1,62 +0,0 @@ -@extends('layouts.presentation') - -@section('title', '전자세금계산서') - -@push('styles') - -@endpush - -@section('content') -
-
-
- - - -

전자세금계산서

-

- 전자세금계산서 발행, 조회, 관리를 위한 - 통합 관리 시스템입니다. -

-
Management
-
- -
-
-

- - - - - 예정 기능 -

-
-
-

세금계산서 발행

-
    -
  • • 정발행/역발행 지원
  • -
  • • 수정세금계산서
  • -
  • • 발행 이력 관리
  • -
-
-
-

조회/관리

-
    -
  • • 기간별 조회
  • -
  • • 상태별 필터링
  • -
  • • PDF 다운로드
  • -
-
-
-
-
-
-
-@endsection diff --git a/resources/views/partials/sidebar-static.blade.php b/resources/views/partials/sidebar-static.blade.php index cf7fcd30..dd64579a 100644 --- a/resources/views/partials/sidebar-static.blade.php +++ b/resources/views/partials/sidebar-static.blade.php @@ -434,26 +434,6 @@ class="flex items-center gap-2 pr-3 py-2 rounded-lg text-sm text-gray-700 hover:
  • SAM AI 메뉴 이동
  • SAM AI 알람음 제작
  • -
  • -
  • GPS 출퇴근 관리
  • -
  • 기업개황 조회
  • - - - - @@ -522,21 +502,6 @@ class="flex items-center gap-2 pr-3 py-2 rounded-lg text-sm text-gray-700 hover:
  • SAM AI 메뉴 이동
  • SAM AI 알람음 제작
  • - - diff --git a/routes/web.php b/routes/web.php index 57e93bfe..0747ccb3 100644 --- a/routes/web.php +++ b/routes/web.php @@ -469,22 +469,6 @@ Route::get('/sam-ai-menu', [AIController::class, 'samAiMenu'])->name('sam-ai-menu'); Route::get('/sam-ai-alarm', [AIController::class, 'samAiAlarm'])->name('sam-ai-alarm'); }); - - // M. 관리 (Management) - Route::prefix('management')->name('management.')->group(function () { - Route::get('/barobill-tenant', [ManagementController::class, 'barobillTenant'])->name('barobill-tenant'); - Route::get('/tax-invoice-strategy', [ManagementController::class, 'taxInvoiceStrategy'])->name('tax-invoice-strategy'); - Route::get('/tax-invoice', [ManagementController::class, 'taxInvoice'])->name('tax-invoice'); - Route::get('/business-verify', [ManagementController::class, 'businessVerify'])->name('business-verify'); - Route::get('/sales-meeting', [ManagementController::class, 'salesMeeting'])->name('sales-meeting'); - Route::get('/card-tax-matching', [ManagementController::class, 'cardTaxMatching'])->name('card-tax-matching'); - Route::get('/card-usage-matching', [ManagementController::class, 'cardUsageMatching'])->name('card-usage-matching'); - Route::get('/account-api', [ManagementController::class, 'accountApi'])->name('account-api'); - Route::get('/sales-scenario', [ManagementController::class, 'salesScenario'])->name('sales-scenario'); - Route::get('/sales-scenario/checklist', [ManagementController::class, 'salesScenarioChecklist'])->name('sales-scenario.checklist'); - Route::post('/sales-scenario/toggle', [ManagementController::class, 'salesScenarioToggle'])->name('sales-scenario.toggle'); - Route::get('/manager-scenario', [ManagementController::class, 'managerScenario'])->name('manager-scenario'); - }); }); /*