From f05ab4413a45a97dab4c6c35fbd2ea3d149fc5bd Mon Sep 17 00:00:00 2001 From: pro Date: Fri, 23 Jan 2026 12:20:07 +0900 Subject: [PATCH] =?UTF-8?q?feat:=EC=9E=85=EC=B6=9C=EA=B8=88=EB=82=B4?= =?UTF-8?q?=EC=97=AD=20=EC=B7=A8=EA=B8=89=EC=A0=90=20=EC=97=B4=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20=EB=B0=8F=20=EC=83=81=EB=8C=80=EA=B3=84=EC=A2=8C?= =?UTF-8?q?=EC=98=88=EA=B8=88=EC=A3=BC=EB=AA=85=20=EC=A7=81=EC=A0=91?= =?UTF-8?q?=EC=9E=85=EB=A0=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 취급점(수단) 열 추가 (바로빌 transOffice 필드) - 상대계좌예금주명 직접 입력 가능하도록 input 필드로 변경 - 저장된 상대계좌예금주명 값 로드 시 병합 - 엑셀 내보내기에 취급점 열 추가 Co-Authored-By: Claude Opus 4.5 --- .../Barobill/EaccountController.php | 5 ++- .../views/barobill/eaccount/index.blade.php | 33 ++++++++++++++++--- 2 files changed, 33 insertions(+), 5 deletions(-) diff --git a/app/Http/Controllers/Barobill/EaccountController.php b/app/Http/Controllers/Barobill/EaccountController.php index cebb14fd..e6d73b31 100644 --- a/app/Http/Controllers/Barobill/EaccountController.php +++ b/app/Http/Controllers/Barobill/EaccountController.php @@ -442,7 +442,8 @@ private function parseTransactionLogs($resultData, string $defaultBankName = '', 'balance' => $balance, 'balanceFormatted' => number_format($balance), 'summary' => $fullSummary, - 'cast' => $log->AccountName ?? $log->Cast ?? '', + // 저장된 상대계좌예금주명 우선 사용 (직접 입력 가능) + 'cast' => $savedItem?->cast ?? '', 'memo' => $log->Memo ?? '', 'transOffice' => $log->TransOffice ?? '', // 저장된 계정과목 정보 병합 @@ -709,6 +710,7 @@ public function exportExcel(Request $request): StreamedResponse|JsonResponse '입금', '출금', '잔액', + '취급점', '상대계좌예금주명', '계정과목코드', '계정과목명' @@ -736,6 +738,7 @@ public function exportExcel(Request $request): StreamedResponse|JsonResponse $trans->deposit, $trans->withdraw, $trans->balance, + $trans->trans_office, $trans->cast, $trans->account_code, $trans->account_name diff --git a/resources/views/barobill/eaccount/index.blade.php b/resources/views/barobill/eaccount/index.blade.php index 11849cc1..c5488018 100644 --- a/resources/views/barobill/eaccount/index.blade.php +++ b/resources/views/barobill/eaccount/index.blade.php @@ -180,6 +180,7 @@ className="w-full px-2 py-1 text-xs border border-stone-200 rounded focus:ring-2 totalCount, accountCodes, onAccountCodeChange, + onCastChange, onSave, onExport, saving, @@ -285,14 +286,15 @@ className="flex items-center gap-2 px-4 py-2 bg-blue-100 text-blue-700 rounded-l 입금 출금 잔액 - 상대계좌예금주명 + 취급점 + 상대계좌예금주명 계정과목 {logs.length === 0 ? ( - + 해당 기간에 조회된 입출금 내역이 없습니다. @@ -321,8 +323,17 @@ className="flex items-center gap-2 px-4 py-2 bg-blue-100 text-blue-700 rounded-l {log.balanceFormatted}원 - - {log.cast || '-'} + + {log.transOffice || '-'} + + + onCastChange(index, e.target.value)} + placeholder="예금주명 입력" + />