Question: Need To Rounded To Near 5

Need To Rounded To Near 5

I have to rounded all my sales to near 5 how to do that , and if coded just refer to which file should I replaced

M

mohamed

Asked
I have to rounded all my sales to near 5 how to do that , and if coded just refer to which file should I replaced
  • MS

    Mian Saleem

    Answered
    Hello,

    You can modify the `roundNumber` method of the `app/libraries/Sma.php`

    Thank you
  • M

    mohamed

    Answered
    Rounding working fine, but not updated to whole system as bill get the correct Rounded but the reports not updated with rounding,it get the transaction before the Rounded value
  • MS

    Mian Saleem

    Answered
    Hello,

    Yes, rounding is only available for POS and it's not considered in the reports.

    Thank you
  • M

    mohamed

    Answered
    So what is the solution for that , it's error in system
  • M

    mohamed

    Answered
    The bill doesn't closed as rounding not affects after pos payment
  • MS

    Mian Saleem

    Answered
    Hello,

    This the expected behaviour. If you want to add those to report, you will need to hire developer to help you modify the code to reports. There is no other option.

    There shouldn't be any issue with bill with rounding as pos checks for the total and rounding amount.

    Thank you
  • Login to Reply