diff --git a/app/Service/v3/Implementations/FinancialRecordService.php b/app/Service/v3/Implementations/FinancialRecordService.php index b4c020d..c9343e0 100644 --- a/app/Service/v3/Implementations/FinancialRecordService.php +++ b/app/Service/v3/Implementations/FinancialRecordService.php @@ -56,7 +56,7 @@ class FinancialRecordService implements FinancialRecordServiceInterface 'desc' => $record['desc'], 'comment' => $record['comment'], 'status' => $record['status'], - 'current_balance' => $balance->balance + 'current_balance' => $balance->balance ?? 0 ] )->save();