|
@@ -217,7 +217,7 @@ class BehaviorRecordRepositories
|
|
|
$data['quantity_issued'] = $comment['quantity_issued'];
|
|
|
$data['current_comment_id'] = $comment['current_comment_id'];
|
|
|
$data['superior_comment_id'] = $comment['superior_comment_id'];
|
|
|
- $this->generalLedgerRecord->create($data);
|
|
|
+ $this->commentAccountRecord->create($data);
|
|
|
$behavior = Behavior::where('virus_behavior_id',$comment['virus_behavior_id'])->first();
|
|
|
$behavior->physical_strength += intval($comment['physical_exertion']);
|
|
|
$behavior->grant_rainbow_beans += intval($comment['quantity_issued']);
|