$0.00 Price default

Armogs
Armogs
Offline
0
Hi There,

I need help... please check attached file.

Thank you
Attachments:
Responses (4)
  • Accepted Answer

    Armogs
    Armogs
    Offline
    Tuesday, August 20 2013, 09:24 PM - #Permalink
    0
    Anyone?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 22 2013, 04:24 PM - #Permalink
    0
    hello

    to allow this you actually need code changes (cannot be done through configuration only)

    are you a coder? the file you're looking for is /helpers/helpers.php, which is the one that format the numbers that then are output..
    The reply is currently minimized Show
  • Accepted Answer

    Armogs
    Armogs
    Offline
    Friday, August 23 2013, 02:06 AM - #Permalink
    0
    Hi Germin,

    I am not coder Can you tell me which line do i need to change or is there any code that i need to add?

    Thank you
    The reply is currently minimized Show
  • Accepted Answer

    Monday, August 26 2013, 10:52 AM - #Permalink
    0
    it's a bit more complicated than than.. there may be a few lines in more than one file.. I thought you were a coder..!
    I would start with: in file /helpers/helpers.php on line 23 there is this function "format", I would modify it like so:

    function format($number, $before = "", $after = ""){

    $params = &JComponentHelper::getParams( 'com_invoices' );

    $decpoint = $params->get('decpoint', '.');
    $thousands = $params->get('thousands', ',');

    if(!$number) return "-" ;
    return $before . number_format($number, 2, $decpoint, $thousands) . $after ;
    }
    The reply is currently minimized Show
Your Reply