fix:입출금내역 상대방→상대계좌예금주명 변경 및 CERTKEY 분리
- 상대방 레이블을 상대계좌예금주명으로 변경 - AccountName 필드 우선 확인 (Cast fallback) - EaccountController CERTKEY 테스트/운영 분리 적용 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -47,9 +47,12 @@ public function __construct()
|
||||
: 'https://ws.baroservice.com';
|
||||
$this->soapUrl = $baseUrl . '/BANKACCOUNT.asmx?WSDL';
|
||||
} else {
|
||||
$this->certKey = config('services.barobill.cert_key', '');
|
||||
$this->corpNum = config('services.barobill.corp_num', '');
|
||||
$this->isTestMode = config('services.barobill.test_mode', true);
|
||||
// 테스트 모드에 따라 적절한 CERT_KEY 선택
|
||||
$this->certKey = $this->isTestMode
|
||||
? config('services.barobill.cert_key_test', '')
|
||||
: config('services.barobill.cert_key_prod', '');
|
||||
$this->corpNum = config('services.barobill.corp_num', '');
|
||||
$this->soapUrl = $this->isTestMode
|
||||
? 'https://testws.baroservice.com/BANKACCOUNT.asmx?WSDL'
|
||||
: 'https://ws.baroservice.com/BANKACCOUNT.asmx?WSDL';
|
||||
@@ -439,7 +442,7 @@ private function parseTransactionLogs($resultData, string $defaultBankName = '',
|
||||
'balance' => $balance,
|
||||
'balanceFormatted' => number_format($balance),
|
||||
'summary' => $fullSummary,
|
||||
'cast' => $log->Cast ?? '',
|
||||
'cast' => $log->AccountName ?? $log->Cast ?? '',
|
||||
'memo' => $log->Memo ?? '',
|
||||
'transOffice' => $log->TransOffice ?? '',
|
||||
// 저장된 계정과목 정보 병합
|
||||
@@ -706,7 +709,7 @@ public function exportExcel(Request $request): StreamedResponse|JsonResponse
|
||||
'입금',
|
||||
'출금',
|
||||
'잔액',
|
||||
'상대방',
|
||||
'상대계좌예금주명',
|
||||
'계정과목코드',
|
||||
'계정과목명'
|
||||
]);
|
||||
|
||||
@@ -285,7 +285,7 @@ className="flex items-center gap-2 px-4 py-2 bg-blue-100 text-blue-700 rounded-l
|
||||
<th className="px-4 py-4 text-right bg-stone-50 text-blue-600">입금</th>
|
||||
<th className="px-4 py-4 text-right bg-stone-50 text-red-600">출금</th>
|
||||
<th className="px-4 py-4 text-right bg-stone-50">잔액</th>
|
||||
<th className="px-4 py-4 bg-stone-50">상대방</th>
|
||||
<th className="px-4 py-4 bg-stone-50">상대계좌예금주명</th>
|
||||
<th className="px-4 py-4 bg-stone-50 min-w-[150px]">계정과목</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
Reference in New Issue
Block a user