From 6decf0a862a59ce699124e1bf267fcc13cb92c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Sat, 21 Feb 2026 14:19:29 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20[barobill]=20=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=EC=97=90=20=EB=B0=94=EB=A1=9C?= =?UTF-8?q?=EB=B9=8C=20=EC=97=B0=EB=8F=99=20=EC=84=B9=EC=85=98=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 바로빌 로그인 정보 조건부 표시 (등록/미등록) - 바로빌 로그인 정보 등록/수정 모달 추가 - 계좌 연동, 카드 연동, 공인인증서 등록 섹션 추가 - 미등록 시 연동 카드 비활성 처리 --- .../Barobill/BarobillController.php | 12 +- .../views/barobill/settings/index.blade.php | 353 +++++++++++++++++- 2 files changed, 363 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Barobill/BarobillController.php b/app/Http/Controllers/Barobill/BarobillController.php index 57a17622..ae665a7a 100644 --- a/app/Http/Controllers/Barobill/BarobillController.php +++ b/app/Http/Controllers/Barobill/BarobillController.php @@ -73,7 +73,17 @@ public function settings(Request $request): View|Response // 서버 모드 판별 $isTestMode = $barobillMember ? $barobillMember->isTestMode() : true; - return view('barobill.settings.index', compact('currentTenant', 'barobillMember', 'isTestMode')); + // 바로빌 로그인 정보 등록 여부 + $hasBarobillLogin = false; + if ($barobillMember) { + try { + $hasBarobillLogin = !empty($barobillMember->barobill_id) && !empty($barobillMember->barobill_pwd); + } catch (\Throwable $e) { + $hasBarobillLogin = !empty($barobillMember->barobill_id) && !empty($barobillMember->getRawOriginal('barobill_pwd')); + } + } + + return view('barobill.settings.index', compact('currentTenant', 'barobillMember', 'isTestMode', 'hasBarobillLogin')); } /** diff --git a/resources/views/barobill/settings/index.blade.php b/resources/views/barobill/settings/index.blade.php index e76a7473..c90544e3 100644 --- a/resources/views/barobill/settings/index.blade.php +++ b/resources/views/barobill/settings/index.blade.php @@ -1,6 +1,6 @@ @extends('layouts.app') -@section('title', '바로빌 설정') +@section('title', '바로빌 연동 관리') @section('content') @@ -73,6 +73,211 @@ @endif + +
+

바로빌 연동

+
+ +
+
+
+ + + +
+
+

바로빌 로그인 정보

+

바로빌 회원 아이디/비밀번호 관리

+
+
+ @if($hasBarobillLogin) +
+
+ 아이디 + {{ $barobillMember->barobill_id }} +
+
+ 비밀번호 + ●●●●●●●● + 설정됨 +
+ +
+ @else +
+
+ + + +
+

바로빌 회원이신가요?

+

바로빌 ID와 비밀번호를 등록하면
계좌/카드 연동 서비스를 이용할 수 있습니다.

+ +
+ @endif +
+ + +
+
+
+ + + +
+
+

바로빌 회원가입

+

바로빌 서비스 신규 가입

+
+
+
+
+ + + +
+

바로빌 회원이 아니신가요?

+

바로빌 회원가입 후
전자세금계산서, 계좌조회 등의 서비스를 이용하세요.

+ + + + + 바로빌 회원가입 + +
+
+
+
+ + +
+

계좌 연동

+
+ +
+
+
+ + + +
+
+

은행 빠른조회 서비스

+

은행 계좌 빠른조회 서비스 등록

+
+
+ @if($hasBarobillLogin) + + @else +

바로빌 로그인 정보를 먼저 등록하세요.

+ @endif +
+ + +
+
+
+ + + +
+
+

계좌 연동 관리

+

은행 계좌 연동 등록 및 관리

+
+
+ @if($hasBarobillLogin) + + @else +

바로빌 로그인 정보를 먼저 등록하세요.

+ @endif +
+
+
+ + +
+

카드 연동

+
+ +
+
+
+ + + +
+
+

카드 연동 관리

+

카드 연동 등록 및 관리

+
+
+ @if($hasBarobillLogin) + + @else +

바로빌 로그인 정보를 먼저 등록하세요.

+ @endif +
+ + +
+
+
+ + + +
+
+

공인인증서 등록

+

공인인증서 등록 및 관리

+
+
+ @if($hasBarobillLogin) + + @else +

바로빌 로그인 정보를 먼저 등록하세요.

+ @endif +
+
+
+
@@ -238,10 +443,156 @@
+ + + @endsection @push('scripts')