# Others

# Graph/Chart not displaying

Graph/Chart doesn’t work as expected when you don’t follow the installation guide properly. To make sure it works you should install it using the installation guide.

**NOTE:** not following the installation process will have many other additional other problem, so we always recommend to follow it.

If you have followed the installation guide and then also it is giving this problem then follow the below-given solution.

**Alternate Solution:**

Open the .**env** file which is present inside the pos codebase. In the .env file, you will find “**APP\_URL**“, set the correct value of the url in here.

For example, if the POS URL is http://pos.ultimatefosters.com then **APP\_URL=http://pos.ultimatefosters.com**

# Increasing/Decreasing upload documents & images size limit

- To change the document size limit open config/constants.php
- You will find to variables 
    - ‘image\_size\_limit’ =&gt; ‘500000’, //in Bytes
    - ‘document\_size\_limit’ =&gt; ‘1000000’, //in Bytes,
- Change the value of the above to change the size limit.
- Size must be provided in Bytes.
- Bytes to MB converter (https://convertlive.com/u/convert/bytes/to/megabytes)

# Logo or Image not Getting displayed

If you’re using **UltimatePOS version 2.11.4** do this: https://ultimatefosters.com/ultimate-pos/update-guide-updating-ultimate-pos/#NOTE\_If\_you8217re\_updating\_from\_V2113\_to\_V2114\_or\_higher\_then\_do\_these\_additional\_steps

In **UltimatePOS version 2.11.2** we implemented an easy way to fix images issue.

1. Login in UltimatePOS with **Administrator account (or** superadmin **account)**
2. Go to **&lt;pos\_directory&gt;/public** directory via FTP or cPanel and delete “**storage**” directory if present. This may or may not be present.  
    **PS**: don’t delete &lt;pos\_directory&gt;/storage.
3. Run **www.yourwebsite.com/install/fix-image** and it will fix the image issue. If it displays some error the check the error information as given below.

If you’re using a **lower version then 2.11.2** then follow the below steps or update your version.

1. This can happen if the “**symbolic link**” is not created successfully during installation steps.
2. Go to **&lt;pos\_directory&gt;/public** and delete “**storage**” directory if present. This may or may not be present.  
    **PS**: don’t delete &lt;pos\_directory&gt;/storage.
3. If you’re using in localhost then open your command prompt (cmd) or if in hosting server then use shell access to login via terminals. Contact your hosting provider if you need details on accessing via terminal.
4. Go to pos directory:  
    **cd &lt;pos\_directory&gt;**
5. in the pos directory run the below command:  
    **php artisan storage:link**
6. If it shows success then check your application, it should show the images now.

If it shows some **error** like:

- **Undefined command “php”** then add php to your environment variable or check your server documentation on running php via command line.
- symblink**() Permission denied**: Change permission of public directory as mentioned in the installation doc.
- symlink**() has been disabled**: Contact your hosting provider to enable it.

# White Labeling & Rebranding SenangUrus Business

A white label product is a product or service produced by one company (the producer) that other companies (the marketers) rebrand to make it appear as if they had made it.

Ultimate POS allows you to white label the product with your company name and resell it as per purchase license rules.

To white label the application:

During installation, it asks for Application name &amp; Application title. Simply use your company name or your branded product name as the name of the application. Also, give a meaning title to it.

– Now the name you entered will be displayed in Landing Page &amp; also in the footer of the application.

– You can also change the application name after installation. Simply open `.env` file present in the root folder of the application and change the `APP_NAME` &amp; `APP_TITLE` value.

# Tips & Tricks for using SenangUrus Business effectively.

### <span id="bkmrk-improving%C2%A0browser-ba-1">**Improving Browser based Print (Receipts or other)**</span>

- In chrome/firefox before printing, it shows a preview dialogue. The preview dialogue left side has some setting. 
    - Enable Background style
    - Try setting the margin as default.
    - Set correct page size (mostly A4)
    - Enable/Disable **header &amp; footer to show/hide the page URL.**
- 

### <span id="bkmrk-create-shortcuts-for-1">**Create Shortcuts for web application**</span>

- - Are you tired of opening browser and the opening your website? If yes we have a solution.
    - Open SenangUrus Business in chrome.
    - Click the wrench icon (3 dots) in the right corner of the screen.
    - Scroll down to Tools and select “Create Application Shortcuts” or “Add To Desktop”
    - From the dialogue box, choose whether you want the shortcut to appear on your Desktop, in your Start menu or pinned to your Taskbar.
    - Click create and your shortcut will appear in the desktop.

### <span id="bkmrk-website-to-desktop-a-1">**Website to Desktop apps in One-Click**</span>

- You can use this online tool to convert website to Desktop App – [Website-to-Desktop](https://ultimatefosters.com/recommends/website-to-desktop/ "Website-to-Desktop")
- This tool is just a wrapper for browser
- We haven’t tested SenangUrus Business 100% with this tool, but you can give it a try.

### <span id="bkmrk-browser-full-screen--1">**Browser Full-Screen mode or distraction-free mode**</span>

- - Whenever you’re in “Full Screen” mode and use a browser-based printing option it gets exit from Full Screen. This also happens if you navigate to another page in full screen.
    - But if you have enabled “Full Screen” by pressing “F11” it will not get exit during navigation and also during browser-based printing.
    - Using SenangUrus Business POS sales screen in “Full screen” by pressing “F11” gives an ultimate experience.

### <span id="bkmrk-barcode-scanner-tric-1">**Barcode Scanner Trick**</span>

- Many barcode scanners send an “End of Line” or “CR/LF” ( the ‘Carriage Return’ and the ‘Line Feed’) characters after each scan. This will result in some issue with SenangUrus Business. Well, it’s not an issue with SenangUrus or the scanner. This feature is useful in some cases. But you should disable it while using SenangUrus.
- Some noted behaviors are, in POS screen invoice gets automatically submitted after scanning, automatically page gets redirected after scanning.
- To disable it simply follow the instruction provided by your manufacturer. ALL branded manufacturer have instruction available to “Disable Carriage return &amp; Line Feed”. Google it.
- For example: In this link, you will find simple instructions for Honeywell scanners (“RESOLUTION” present at bottom of page) (https://honeywellaidc.force.com/supportppr/s/article/How-to-remove-the-Enter-after-each-scan)

Do you have a particular Trick to improve user experience? Share with us [here](https://ultimatefosters.com/support/)

Bookmark this link, as we will keep updating it.

# Decimal Precision for Currency & Quantity

Some countries like Bahrain, <span class="hilight">Kuwait</span>, Tunisia, Oman, etc has 3 decimal currencies. So with this feature, you can adjust the decimal significant figures for currency &amp; quantity.

The default precision is 2 for currency &amp; quantity if you want to change it follow the below steps:

Go to Settings -&gt; Business Settings. Here you can enter the required decimal precision for quantity and currency.

[![](https://ultimatefosters.com/wp-content/uploads/2019/04/decimalprecision-300x154.png)](https://ultimatefosters.com/wp-content/uploads/2019/04/decimalprecision.png)

If you are using version 4.7.7 or below, follow the below steps to change the decimal precision.

1. Go to **config/constants.php**
2. Change **currency\_precision** value to change the precision for currency. The maximum is 4.
3. Change **quantity\_precision** value to change the precision for quantity. The maximum is 4.

# Adding Favicon, Login & Registration page background image

## <span id="bkmrk-adding-favicon-1">Adding Favicon</span>

To change the Favicon.ico image go to **/public** folder and replace the **favicon.ico** file present there.

Clear cache of your browser and it will start to show the new image you added.

## <span id="bkmrk-changing-logo-in-log-1">Changing Logo in Login &amp; Registration page</span>

Replace the image **pos\\public\\img\\logo-small.png**

Keep the new image name as “**logo-small.png**”

## <span id="bkmrk-changing-background--1">Changing Background Colour in Login Page</span>

How to change the blue background in the login page?

To change the blue background in the login page, check the css file and change the line as mentioned below.

Step 1: Login to your server and open the codebase files for UltimatePOS.

Step 2: Go to pos\\resources\\views\\layouts\\partials\\extracss\_auth.blade.php and edit line no 15. Add the required color code here.

## <span id="bkmrk-setting-background-i-1">Setting Background Image in Login/Registration and Pricing Page</span>

You can change the default blue background in the **Login Page**, **Registration Page**, and **Pricing Page** by updating the style file.

Step 1: Go to pos\\resources\\views\\layouts\\partials\\extracss\_auth.blade.php

Step 2: Inside this file, you will find the code for both **background image** and **background color**.

Step 3:

To apply your choice:

- **For Background Image** → Un-comment the line of code for the background image.
- **For Background Color** → Un-comment the line of code for the background color.

## <span id="bkmrk-changing-application-1">Changing Application Name in Landing page</span>

To change the application name in the landing page, follow the steps given below

**Step 1:** Open .env file present in your codebase.  
**Step 2:** Search for **APP\_NAME**.  
**Step 3:** Change the value for the **APP\_NAME** =”examplePOS” as required.

## <span id="bkmrk-how-can-i-display-th-1">How can I display the login page instead of the landing page? (Making login page as the landing page)</span>

If you want to redirect the landing page of your POS system to login page page, you can modify the route in the **pos/routes/web.php** file to call the login blade instead of the welcome blade.

This will display the login page instead of the default welcome page when the POS system is accessed.

To change the route and call the login blade, follow these steps:

1. Open the **routes/web.php** file in your code editor.
2. Search for the route that specifies the view for the welcome blade file.
3. Replace the view name with the name of the login blade file.
4. Save the changes to the routes/web.php file.

For more information on using blade templates in Laravel, refer to the Laravel documentation at [https://laravel.com/docs/10.x/blade](https://laravel.com/docs/10.x/blade).

If you need to pass data to the view, you can refer to this guide at [https://www.geeksforgeeks.org/different-ways-for-passing-data-to-view-in-laravel/](https://www.geeksforgeeks.org/different-ways-for-passing-data-to-view-in-laravel/).

For more information on file paths in UltimatePOS, refer to this documentation at [https://ultimatefosters.com/docs/ultimatepos/technical/different-files-path/](https://ultimatefosters.com/docs/ultimatepos/technical/different-files-path/).

# Export Feature

## <span id="bkmrk-export-feature-in-ul-1">Export Feature in UltimatePOS</span>

Ultimate POS allows you to export your data into either Excel, CSV, or pdf files. You can export your sale, purchase, products, categories, all your reports, etc.

On the top of every data table, you can find export buttons as shown in the image below.

[![](https://ultimatefosters.com/wp-content/uploads/2022/04/Exportfile-300x141.png)](https://ultimatefosters.com/wp-content/uploads/2022/04/Exportfile.png)

## <span id="bkmrk-removing-columns-fro-1">Removing columns from the data table</span>

If you want to remove the action column or any other column while exporting the data, use the column visibility feature. Select the columns that are to be removed and then click export.

[![](https://ultimatefosters.com/wp-content/uploads/2022/04/columnvisibility-300x148.png)](https://ultimatefosters.com/wp-content/uploads/2022/04/columnvisibility.png)

# Login Session Time

## <span id="bkmrk-increasing-the-login-1">**Increasing the login session time:**</span>

Follow the file path below to increase the login session time of your SenangUrus Business.

config/session.php

# Issue: Product not shown on view

Sometimes, you may encounter an issue where the “List Products &gt; View” function does not work.  
This problem may arise from the permission restrictions for the uploads folder in the code base.

1. Log in to your server and find the pos/public/uploads folder. Then, change the permission to ‘777’.
2. Save the file and try to view the product again.

If you still have the issue, open a ticket in support and post the issue.

# Solution for Sell Delete Not Working Issue

## <span id="bkmrk-error%3A-deleting-sale-1">Error: Deleting Sale Not Working, shows “Something Went Wrong Please Try again Later”</span>

#### <span id="bkmrk-issue%3A-1">Issue:</span>

Sometimes, when attempting to delete a sale, the system may display the following error: **“Something went wrong. Please try again later.”**  
This usually occurs due to a database configuration issue.

### <span id="bkmrk-solution%3A-1">Solution:</span>

Follow the steps below to diagnose and fix the issue:

#### <span id="bkmrk-step-1%3A-check-the-er-1">Step 1: Check the Error Log</span>

Navigate to your application’s log file located at: **pos/storage/logs/laravel.log**

#### <span id="bkmrk-step-2%3A-identify-the-1">Step 2: Identify the Error</span>

If the log shows the following error: **General error: Prepared statement needs to be re-prepared**

#### <span id="bkmrk-step-3%3A-update-datab-1">Step 3: Update Database Configuration</span>

Open the database configuration file located at:

`pos/config/database.php`

Find the MySQL configuration block and ensure it includes the following option:

‘mysql’ =&gt; \[  
‘driver’ =&gt; ‘mysql’,  
‘url’ =&gt; env(‘DATABASE\_URL’),  
‘host’ =&gt; env(‘DB\_HOST’, ‘127.0.0.1’),  
‘port’ =&gt; env(‘DB\_PORT’, ‘3306’),  
‘database’ =&gt; env(‘DB\_DATABASE’, ‘forge’),  
‘username’ =&gt; env(‘DB\_USERNAME’, ‘forge’),  
‘password’ =&gt; env(‘DB\_PASSWORD’, ”),  
‘unix\_socket’ =&gt; env(‘DB\_SOCKET’, ”),  
‘charset’ =&gt; ‘utf8mb4’,  
‘collation’ =&gt; ‘utf8mb4\_unicode\_ci’,  
‘prefix’ =&gt; ”,  
‘prefix\_indexes’ =&gt; true,  
‘strict’ =&gt; false,  
‘engine’ =&gt; null,  
‘options’ =&gt; extension\_loaded(‘pdo\_mysql’) ? array\_filter(\[  
PDO::MYSQL\_ATTR\_SSL\_CA =&gt; env(‘MYSQL\_ATTR\_SSL\_CA’),  
\\PDO::ATTR\_EMULATE\_PREPARES =&gt; true, // Add this line  
\]) : \[\],  
\],  
**Important:** Make sure the line `\PDO::ATTR_EMULATE_PREPARES => true` is included under the `options` array. This setting helps prevent the “re-prepared” error by enabling emulation of prepared statements.

#### <span id="bkmrk-step-4%3A-save-changes-1">Step 4: Save Changes</span>

After updating the configuration save the file.

# Adding/Modifying Currency in ultimatepos

With UltimatePOS we have tried to include many currencies inbuilt in the system. But we have missed some of them, sorry for that!!

No worries, still you can add any new currency into the system.

1. To add new currency open the database table which is used for UltimatePOS. Go to table currency
2. Click on “Insert” new row option.
3. Fill your currency details as below and save it. 
    - country
    - currency
    - code
    - symbol
    - thousand\_seperator
    - decimal\_seperator

Great, Your currency is added now.