diff --git a/app/Service/v3/Implementations/FinancialRecordService.php b/app/Service/v3/Implementations/FinancialRecordService.php index 61e3b7d..74c23f0 100644 --- a/app/Service/v3/Implementations/FinancialRecordService.php +++ b/app/Service/v3/Implementations/FinancialRecordService.php @@ -309,7 +309,7 @@ class FinancialRecordService implements FinancialRecordServiceInterface } $sumAmount = $financialRecord->where([ - 'source_id' => $user_id, + 'user_id' => $user_id, 'user_type' => $user_type ])->whereIn('money_type', $money_type) ->sum('money');