Hi,
In regards to Revision 2325: /trunk/admin/Public/modules
I downloaded
http://svn.a2billing.net/svn/asterisk2b ... counts.php and change the code (see below) to correct the Dashboard CALLS INFO possible improper display of;
AMOUNT SELL TODAY
AMOUNT BUY TODAY
TOTAL TIME USED TODAY
It appear to display correctly with the adjustments. I am assuming sell means what I am selling it for and buy means what I am buying it for.
If I am incorrect, please let me know. If I am correct the adjustments should be made to the svn trunk.
Kind Regards,
Les
Code Adjustment around line 61:
From:
<?php echo gettext("AMOUNT SELL TODAY ");?> : <font style="color:#EE6564;" >
<?php if($result_count_calls_buy == null){echo "0";}else{ echo $result_count_calls_times;} ?> </font> <?php echo $A2B->config["global"]["base_currency"];?> <br/>
<?php echo gettext("AMOUNT BUY TODAY");?> : <font style="color:#EE6564;" >
<?php if($result_count_calls_buy == null){echo "0";}else{ echo $result_count_calls_sell;} ?> </font> <?php echo $A2B->config["global"]["base_currency"];?> <br/>
<?php echo gettext("TOTAL TIME USED TODAY");?> : <font style="color:#EE6564;" >
<?php if($result_count_calls_buy == null){echo "0";}else{ echo $result_count_calls_buy;} ?> </font> <?php echo gettext("sec");?> <br/>
To:
<?php echo gettext("AMOUNT SELL TODAY ");?> : <font style="color:#EE6564;" >
<?php if($result_count_calls_sell == null){echo "0";}else{ echo $result_count_calls_sell;} ?> </font> <?php echo $A2B->config["global"]["base_currency"];?> <br/>
<?php echo gettext("AMOUNT BUY TODAY");?> : <font style="color:#EE6564;" >
<?php if($result_count_calls_buy == null){echo "0";}else{ echo $result_count_calls_buy;} ?> </font> <?php echo $A2B->config["global"]["base_currency"];?> <br/>
<?php echo gettext("TOTAL TIME USED TODAY");?> : <font style="color:#EE6564;" >
<?php if($result_count_calls_times == null){echo "0";}else{ echo $result_count_calls_times;} ?> </font> <?php echo gettext("sec");?> <br/>