From 92a6cf27f8e36d19da3dd09d8cb229d61de04411 Mon Sep 17 00:00:00 2001 From: pro Date: Wed, 21 Jan 2026 20:34:39 +0900 Subject: [PATCH] =?UTF-8?q?fix:=EA=B3=84=EC=A2=8C=EA=B1=B0=EB=9E=98?= =?UTF-8?q?=EB=82=B4=EC=97=AD=20=EA=B5=AC=EB=B6=84=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EC=9D=B4=EC=B2=B4=20=EC=A0=9C=EA=B1=B0=20(=EC=9E=85=EA=B8=88/?= =?UTF-8?q?=EC=B6=9C=EA=B8=88=EB=A7=8C=20=EC=9C=A0=EC=A7=80)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../finance/account-transactions.blade.php | 21 +++++++------------ 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/resources/views/finance/account-transactions.blade.php b/resources/views/finance/account-transactions.blade.php index 3d24b253..37396607 100644 --- a/resources/views/finance/account-transactions.blade.php +++ b/resources/views/finance/account-transactions.blade.php @@ -52,7 +52,7 @@ function AccountTransactions() { { id: 5, date: '2026-01-19', accountName: '기업은행 운영계좌', accountNo: '123-456789-01', type: 'deposit', category: '매출입금', description: '글로벌솔루션 계약금', amount: 8500000, balance: 115000000, memo: '' }, { id: 6, date: '2026-01-19', accountName: '신한은행 급여계좌', accountNo: '110-123-456789', type: 'withdrawal', category: '세금납부', description: '원천세 납부', amount: 3200000, balance: 100000000, memo: '12월분' }, { id: 7, date: '2026-01-18', accountName: '기업은행 운영계좌', accountNo: '123-456789-01', type: 'withdrawal', category: '거래처지급', description: 'IT솔루션즈 외주비', amount: 12000000, balance: 106500000, memo: '' }, - { id: 8, date: '2026-01-18', accountName: '국민은행 예비계좌', accountNo: '999-12-345678', type: 'transfer', category: '계좌이체', description: '운영자금 이체', amount: 20000000, balance: 80000000, memo: '기업은행으로' }, + { id: 8, date: '2026-01-18', accountName: '국민은행 예비계좌', accountNo: '999-12-345678', type: 'withdrawal', category: '계좌이체', description: '운영자금 이체', amount: 20000000, balance: 80000000, memo: '기업은행으로' }, { id: 9, date: '2026-01-17', accountName: '기업은행 운영계좌', accountNo: '123-456789-01', type: 'deposit', category: '매출입금', description: '스마트시스템 유지보수', amount: 3500000, balance: 118500000, memo: '' }, { id: 10, date: '2026-01-17', accountName: '신한은행 급여계좌', accountNo: '110-123-456789', type: 'deposit', category: '계좌이체', description: '운영계좌에서 이체', amount: 50000000, balance: 103200000, memo: '' }, ]); @@ -81,7 +81,6 @@ function AccountTransactions() { const totalDeposit = filteredTransactions.filter(t => t.type === 'deposit').reduce((sum, t) => sum + t.amount, 0); const totalWithdrawal = filteredTransactions.filter(t => t.type === 'withdrawal').reduce((sum, t) => sum + t.amount, 0); - const totalTransfer = filteredTransactions.filter(t => t.type === 'transfer').reduce((sum, t) => sum + t.amount, 0); const handleDownload = () => { const rows = [['계좌거래내역'], [], ['날짜', '계좌', '구분', '분류', '내용', '금액', '잔액', '메모'], @@ -92,23 +91,21 @@ function AccountTransactions() { }; const getTypeLabel = (type) => { - const labels = { 'deposit': '입금', 'withdrawal': '출금', 'transfer': '이체' }; + const labels = { 'deposit': '입금', 'withdrawal': '출금' }; return labels[type] || type; }; const getTypeStyle = (type) => { const styles = { 'deposit': 'text-blue-600', - 'withdrawal': 'text-red-600', - 'transfer': 'text-gray-600' + 'withdrawal': 'text-red-600' }; return styles[type] || 'text-gray-600'; }; const getTypeIcon = (type) => { if (type === 'deposit') return ; - if (type === 'withdrawal') return ; - return ; + return ; }; const resetFilters = () => { @@ -134,7 +131,7 @@ function AccountTransactions() { {/* 요약 카드 */} -
+
조회 건수

{filteredTransactions.length}건

@@ -147,10 +144,6 @@ function AccountTransactions() {
출금 합계

{formatCurrency(totalWithdrawal)}원

-
-
이체 합계
-

{formatCurrency(totalTransfer)}원

-
{/* 필터 영역 */} @@ -167,8 +160,8 @@ function AccountTransactions() { {categories.map(cat => )}
- {['all', 'deposit', 'withdrawal', 'transfer'].map(type => ( - ))}