Question: Bugs In Pos Sale When Sale Is Return

Bugs In Pos Sale When Sale Is Return

Helo, i just fresh install Stock Manager Advance with Point of Sale Module. When POS Sales returned, user can duplicate sales with munus qty and price. For more details, I will attach a sc

PH

Pips Hunter

Asked
Helo, i just fresh install Stock Manager Advance with Point of Sale Module.

When POS Sales returned, user can duplicate sales with munus qty and price.

For more details, I will attach a screenshot file
  • MS

    Mian Saleem

    Answered
    Hello,

    Yes, minus quantity is allowed as some using that for returns.

    Thank you
  • PH

    Pips Hunter

    Answered
    can i setting minus not allowed ?
  • PH

    Pips Hunter

    Answered
    I don't understand if the customer wants to refund because the item was damaged through POS sales
  • MS

    Mian Saleem

    Answered
    Hello,

    You can edit the `app/controllers/admin/Pos.php` and change line no 828 from

    ```php
    if (isset($item_code) && isset($real_unit_price) && isset($unit_price) && isset($item_quantity)) {
    ```

    to

    ```php
    if (isset($item_code) && isset($real_unit_price) && isset($unit_price) && isset($item_quantity) && $item_quantity > 0) {
    ```

    so that the order items with quantity below 0 will be discarded.

    Thank you
  • Login to Reply