Question: Check-In Checkout Items List Sorting

Check-In Checkout Items List Sorting

Hi, i want to resolve 1 problem. When i add items in check-in or checkout. They are not showing in same sequence in which i am adding in check-in or check-out item list, they auto sort some

A

Amin

Asked

Hi, i want to resolve 1 problem. When i add items in check-in or checkout. They are not showing in same sequence in which i am adding in check-in or check-out item list, they auto sort some items comes up and some items comes down. i need it in a sequence in which i am adding. how to resolve this ?

  • MS

    Mian Saleem

    Answered

    Hello,

    Simple Stock Manager prependTo new item to the order list. It don’t sort the items. If the item already exists in the order it will not change the position and just update the quantity only.

    If you need to modify then themes/default/assets/js/stin.js for check-in and themes/default/assets/js/stout.js for check-outs. The function name would be same in both loadInItems

    Thank you

  • A

    Amin

    Answered

    No, the question i am asking that is, when i add items in check-in list or check-out list, the items not listing in same sequence in which i am adding, also i want to disable auto enter item functionality.

  • A

    Amin

    Answered

    I know it just add the quantity if i add same item, but i am asking, if i m adding different item, why they are not listing in a sequence in which i am adding items in check-in/out list.

  • MS

    Mian Saleem

    Answered

    Hello,

    There is no such option by settings. I have told you that items are prepended to the table to keep the newly added item on top. If you don’t need, you can change the files mentioned in my previous reply and use append instead of prepend

    Thank you

  • A

    Amin

    Answered

    i changed prepend to append, now items are listing from lower product id to highest product id number. Actually items are listing on item id basis. is there any possibility that items should not use item id, its should use item name to make check-in check-out list.

  • MS

    Mian Saleem

    Answered

    Hello,

    I don’t understand what are you trying to get. Please share screenshots and feel free to hire any developer to help you get the desired result.

    Thank you

  • Login to Reply