Question: Help Please -Emergence Issue

Help Please -Emergence Issue

Hello sir, please help how to show unit for each item solid in POS Receipt , please and please . If their codes please provide I'll add my self. Thank you

GM

Godfrey Mrina

Asked
Hello sir, please help how to show unit for each item solid in POS Receipt , please and please . If their codes please provide I'll add my self.

Thank you
  • MS

    Mian Saleem

    Answered
    Hello,

    You will need to modify the POS model `app/models/admin/Pos_model.php` to get the base unit and then the receipt view file `themes/default/admin/views/pos/view.php` to display it.

    > We don't offer support for modifications and modified versions. You are allowed to modify the item code as you need as per license.

    Thank you
  • GM

    Godfrey Mrina

    Answered
    Ooh ! that is very tough for me , please can you help sir as you know is important for everyone , let assume you have Items with Kg and Bag if storekeeper get receipt , failed to know which item to release.
  • MS

    Mian Saleem

    Answered
    Hello,

    You can edit `themes/default/admin/views/pos/view.php` to search for

    ```php
    $this->sma->formatQuantity($row->unit_quantity)
    ```

    to replace it with

    ```php
    $this->sma->formatQuantity($row->unit_quantity) . ($row->product_unit_code ?: '')
    ```

    Thank you
  • GM

    Godfrey Mrina

    Answered
    Thank you much brother, your Good People always . Thank you so much for nice thing you did !
  • Login to Reply