mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-23 08:08:45 +05:00
Add Factor map and Weight to BalanceSummaries
Added additional tests + updated old ones.
This commit is contained in:
committed by
Dan Christian Bogos
parent
699989a336
commit
6d61fd479d
@@ -1261,7 +1261,9 @@ func resetAccountCDR(ub *Account, action *Action, acts Actions, fltrS *FilterS,
|
||||
ID: &bsum.ID,
|
||||
Type: &bsum.Type,
|
||||
Value: &utils.ValueFormula{Static: bsum.Value},
|
||||
Weight: &bsum.Weight,
|
||||
Disabled: &bsum.Disabled,
|
||||
Factor: &bsum.Factor,
|
||||
},
|
||||
}, fltrS); err != nil {
|
||||
utils.Logger.Warning(fmt.Sprintf("<%s> Error %s setting balance %s for account: %s", utils.Actions, err, bsum.UUID, account))
|
||||
|
||||
Reference in New Issue
Block a user