diff --git a/app/Http/Controllers/Barobill/EcardController.php b/app/Http/Controllers/Barobill/EcardController.php index 5794627c..a6fb3ff3 100644 --- a/app/Http/Controllers/Barobill/EcardController.php +++ b/app/Http/Controllers/Barobill/EcardController.php @@ -161,6 +161,11 @@ public function cards(Request $request): JsonResponse ? $card->CardCompanyName : $this->getCardCompanyName($cardCompanyCode); + // 체크카드 여부 (IsDebit 또는 CardKind 필드로 판단) + $isCheckCard = ($card->IsDebit ?? '0') === '1' || + ($card->CardKind ?? '') === '2' || + ($card->IsCheck ?? '0') === '1'; + $cards[] = [ 'cardNum' => $cardNum, 'cardCompany' => $cardCompanyCode, @@ -168,6 +173,7 @@ public function cards(Request $request): JsonResponse 'alias' => $card->Alias ?? '', 'cardType' => $card->CardType ?? '', 'cardTypeName' => ($card->CardType ?? '') === '2' ? '법인카드' : '개인카드', + 'isCheckCard' => $isCheckCard, 'status' => $card->Status ?? '', 'statusName' => $this->getCardStatusName($card->Status ?? ''), 'webId' => $card->WebId ?? '', diff --git a/resources/views/barobill/ecard/index.blade.php b/resources/views/barobill/ecard/index.blade.php index 708b00d0..f4f2e669 100644 --- a/resources/views/barobill/ecard/index.blade.php +++ b/resources/views/barobill/ecard/index.blade.php @@ -146,14 +146,25 @@ className={`px-4 py-2 rounded-lg text-sm font-medium transition-colors ${ ))} diff --git a/resources/views/finance/fund-schedules/create.blade.php b/resources/views/finance/fund-schedules/create.blade.php index b1057377..93a6364d 100644 --- a/resources/views/finance/fund-schedules/create.blade.php +++ b/resources/views/finance/fund-schedules/create.blade.php @@ -74,12 +74,15 @@ class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:rin class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-emerald-500 focus:border-emerald-500">
-
@@ -93,10 +96,10 @@ class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:rin class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-emerald-500 focus:border-emerald-500"> - {{-- 관련 계좌 --}} + {{-- 출금 계좌 --}}