mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
small addition last night fix
This commit is contained in:
@@ -343,6 +343,9 @@ func (b *Balance) DebitMoney(cc *CallCost, count bool, ub *UserBalance) error {
|
||||
newTs := ts.SplitByIncrement(incrementIndex)
|
||||
increment.paid = (&cc.Timespans).OverlapWithTimeSpans(paidTs, newTs, tsIndex)
|
||||
tsWasSplit = increment.paid
|
||||
if !increment.paid {
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user