feat(API): 입금/출금 알림 Observer 추가 및 LoanController 수정
- DepositIssueObserver, WithdrawalIssueObserver 신규 추가 - TodayIssueObserverService에 입금/출금 핸들러 및 디버그 로그 추가 - TodayIssue 모델에 입금/출금 상수 추가 - AppServiceProvider에 Observer 등록 - ApprovalService에 기존 결재선 사용 시 수동 알림 트리거 추가 - LoanController ApiResponse::handle() → ApiResponse::success() 수정 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -134,9 +134,7 @@ public function store(array $data)
|
||||
|
||||
$client = Client::create($data);
|
||||
|
||||
// 신규 거래처 등록 푸시 발송
|
||||
app(PushNotificationService::class)
|
||||
->notifyNewClient($client->id, $client->name, $tenantId);
|
||||
// 신규 거래처 등록 푸시는 ClientIssueObserver가 자동 처리
|
||||
|
||||
return $client;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user