Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 26, 2024 7:11 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: BALANCE in admin web page in Add :: Search
PostPosted: Wed Jun 24, 2009 1:15 pm 
Offline

Joined: Fri Jul 11, 2008 6:54 pm
Posts: 39
Location: Armenia, Yerevan
Hello
I have begin to test 1.4 version (SVN)
I have take some mistake
I admin menu Customer -> Add :: Search is how my customers
Now I have refill him 5000, then add 10 also, its show normal in BA field.
Now I have make call, then I show in the same web page the balance is 5010 still.
But if I do action edit customer, in Balance field I see 5009.99762
It show that the money is calculate normal.
But in Menu Customer -> Add :: Search I cant see the curent balance, system show only the refilled amount

Thanks

P.S.
How I can disable PHP Quick profiles?


Top
 Profile  
 
 Post subject: Re: BALANCE in admin web page in Add :: Search
PostPosted: Wed Jun 24, 2009 4:56 pm 
Offline

Joined: Sun Mar 12, 2006 2:49 pm
Posts: 954
Location: Barcelona
there is a rounding, it will be unclean to show all decimal on this screen.


You can edit admin.defines.php and change :
define ("PHP_QUICK_PROFILER", true);

to

define ("PHP_QUICK_PROFILER", false);


/Areski


Top
 Profile  
 
 Post subject: Re: BALANCE in admin web page in Add :: Search and CDR
PostPosted: Thu Jun 25, 2009 4:51 am 
Offline

Joined: Fri Jul 11, 2008 6:54 pm
Posts: 39
Location: Armenia, Yerevan
Thanks for QuickProfile
I have find the problem
In this field You make so:
1. if 5009.97507 - then this equal 5009.98
2. if 5009.99507 - then this equal 5010.00

I think is not right. It must not rounding to up, it must just show 5009.99.
I think so.

Quote:
I think I have not right write the problem.
the link http://192.168.1.103/a2billing/admin/Pu ... ?section=1
You have field BA - BALANCE
Now, when customer make call, this balance field is show always the refilled amount, but I think this field must be show current state of balance.


And one also, in CDR
I think it will be fine also, to add in this page the FirstName of the same account that has do this call, in 1.3 version I have added it itself, and this field is helpful to much.



Thanks


areski wrote:
there is a rounding, it will be unclean to show all decimal on this screen.


You can edit admin.defines.php and change :
define ("PHP_QUICK_PROFILER", true);

to

define ("PHP_QUICK_PROFILER", false);


/Areski


Top
 Profile  
 
 Post subject: Re: BALANCE in admin web page in Add :: Search - Resolv
PostPosted: Fri Jun 26, 2009 12:49 pm 
Offline

Joined: Fri Jul 11, 2008 6:54 pm
Posts: 39
Location: Armenia, Yerevan
The problem is resolved, finding solution
In Misc.php, display_2dec, created new function, display_4dec :)

Thanks

varnar wrote:
Thanks for QuickProfile
I have find the problem
In this field You make so:
1. if 5009.97507 - then this equal 5009.98
2. if 5009.99507 - then this equal 5010.00

I think is not right. It must not rounding to up, it must just show 5009.99.
I think so.

Quote:
I think I have not right write the problem.
the link http://192.168.1.103/a2billing/admin/Pu ... ?section=1
You have field BA - BALANCE
Now, when customer make call, this balance field is show always the refilled amount, but I think this field must be show current state of balance.


And one also, in CDR
I think it will be fine also, to add in this page the FirstName of the same account that has do this call, in 1.3 version I have added it itself, and this field is helpful to much.



Thanks


areski wrote:
there is a rounding, it will be unclean to show all decimal on this screen.


You can edit admin.defines.php and change :
define ("PHP_QUICK_PROFILER", true);

to

define ("PHP_QUICK_PROFILER", false);


/Areski


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group