[ASTPPCOM-259] $cost always logged as 0 in astpp.cdr.php Created: 09/Nov/17 Updated: 14/Feb/18 Resolved: 14/Feb/18 |
|
| Status: | Done |
| Project: | ASTPP Community |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | ||
| Reporter: | alexheylin | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Need to move logger line below assignment of $cost? As is $cost has the value of 0 that's assigned at the top of file. // Calculate parent cost if customer have any parent // Initialize final cost variable to use for billing Thanks |
| Comments |
| Comment by alexheylin [ 09/Nov/17 ] |
|
Should it also be below |
| Comment by Samir Doshi [ 15/Nov/17 ] |
|
I don't understand what difference will it make if we will move longer to other line? Are you getting $cost 0 in CDR or just in logger? |
| Comment by alexheylin [ 15/Nov/17 ] |
|
I was getting zero cost in CDR (now fixed) but as it is now, the logger On 15 Nov 2017 08:54, "Samir Doshi" <notifications@github.com> wrote: I don't understand what difference will it make if we will move longer to Are you getting $cost 0 in CDR or just in logger? — |
| Comment by Samir Doshi [ 15/Nov/17 ] |
|
Ah ok. Got your point. |