|
|
|
@ -392,7 +392,7 @@ class PromoteRepository {
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
if (isset($records[$promoteId]) && isset($records[$promoteId]['cash'])) {
|
|
|
|
|
$records[$promoteId]['cash'] = $item['amount'];
|
|
|
|
|
$records[$promoteId]['cash'] += $item['amount'];
|
|
|
|
|
} else {
|
|
|
|
|
$records[$promoteId]['cash'] = $item['amount'];
|
|
|
|
|
}
|
|
|
|
|