• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Ultimate POS - Best Advanced Stock Management, Point of Sale & Invoicing application

Ultimate POS - Best Advanced Stock Management, Point of Sale & Invoicing application V 5.40 –Released on January 29, 2024 - Untouched

No permission to download
Someone previously were asking how to remove extra zero's from the invoice .. here is the fix

1714393129369.png

Suppose you have chosen 4 decimal value from the settings but on the invoice you want to show just two decimal values like in Total filed. just find the line in your relevant invoice file where its giving output for total it would be like

{{$receipt_details->total}}

now change it to

{{number_format($receipt_details->total, 2)}}

and now you will have 2 decimals values in your invoice print.
Where is that file to edit?
 
Help!!!!!!
Can't see sales on All sales Tab. Any help I will really appreciate. Screenshot (59).png
Try to update your system, if its local use ( localhost/yoursystemfoldername/public/install/update) if its online use (yoursitename/public/install/update)
Then follow instructions to update
 
Try to update your system, if its local use ( localhost/yoursystemfoldername/public/install/update) if its online use (yoursitename/public/install/update)
Then follow instructions to update
Thanks Superhero99. I fixed it by disabling mod security
 
In my country we do not use decimals, example of use 85.000

public_html/modules/superadmin/resourse/views/layout/currency.blade.php

How can I remove the decimal,

PHP:
<!-- Page level currency setting -->
@if(!empty($__system_currency))
    <input type="hidden" id="p_code" value="{{$__system_currency->code}}">
    <input type="hidden" id="p_symbol" value="{{$__system_currency->symbol}}">
    <input type="hidden" id="p_thousand" value="{{$__system_currency->thousand_separator}}">
    <input type="hidden" id="p_decimal" value="{{$__system_currency->decimal_separator}}">
@endif
 
In my country we do not use decimals, example of use 85.000

public_html/modules/superadmin/resourse/views/layout/currency.blade.php

How can I remove the decimal,

PHP:
<!-- Page level currency setting -->
@if(!empty($__system_currency))
    <input type="hidden" id="p_code" value="{{$__system_currency->code}}">
    <input type="hidden" id="p_symbol" value="{{$__system_currency->symbol}}">
    <input type="hidden" id="p_thousand" value="{{$__system_currency->thousand_separator}}">
    <input type="hidden" id="p_decimal" value="{{$__system_currency->decimal_separator}}">
@endif
just go to settings, and modify currency precision to 0
 

Attachments

  • Untitled.png
    Untitled.png
    15.9 KB · Views: 20
  • Like
Reactions: guarani

Forum statistics

Threads
80,328
Messages
1,156,219
Members
258,959
Latest member
yjdsky
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock