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
|
||||
'입금',
|
||||
'출금',
|
||||
'잔액',
|
||||
'상대방',
|
||||
'상대계좌예금주명',
|
||||
'계정과목코드',
|
||||
'계정과목명'
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user