Commit Graph

9 Commits

Author SHA1 Message Date
Radu Ioan Fericean
7831a53797 renamed USerBalance to Account 2014-02-21 14:37:31 +02:00
Radu Ioan Fericean
aa99a1e526 make sure connect fee is deducted only on LoopIndex = 0 2014-02-06 19:36:42 +02:00
Radu Ioan Fericean
f154dac933 connect fee changes
The connect fee is take from the first timespan after balance debit.
So if the balance has ratingsubject than that connect fee will be applied.
2014-02-06 18:56:21 +02:00
Radu Ioan Fericean
6ff0d17d5f refactored debit credit method, now modular and better tested 2013-12-10 20:24:06 +02:00
Radu Ioan Fericean
3611494936 before rewrite 2013-12-10 20:24:06 +02:00
DanB
71ca9d8fe3 Adding apier.GetRatingPlans and various local tests 2013-12-06 20:49:00 +01:00
DanB
f0fbe79fca Adding test for insufficient balance 2013-12-05 10:44:36 +01:00
DanB
4de7dd3c26 Merge branch 'master' of https://github.com/cgrates/cgrates 2013-12-03 17:03:46 +01:00
Radu Ioan Fericean
66c6efab96 fixed debit bug 2013-12-03 17:03:20 +02:00