Question: Return Sale Fewer Clicks

Return Sale Fewer Clicks

Hey Mian Saleem, First of all the script is 100% perfect. Good Job. So my question: I want to add a quick return button for sales and purchase. Can you suggest to me a way to add the Retur

UB

Umair Baba

Asked

Hey Mian Saleem,

First of all the script is 100% perfect. Good Job.

So my question: I want to add a quick return button for sales and purchase. Can you suggest to me a way to add the Return button?

For example: Sale> List Sale> then we have Actions for each sale under actions we have Return Sale action. I just want to return a sale with fewer clicks.

Please suggest to me the lines of code and files where I can edit the script.

Thanks

  • MS

    Mian Saleem

    Answered

    Hello,

    SMA don’t have option for purchase return but only sale returns.

    1. You can add return by clicking add return men in actions from list sales page. This will add all the sold products to return list and those can be modified. The pros. it will effect the master sale directly and cons. it will lock the sale for any further edit.

    2. There is returns menu in main side bar. This is consider open return and not effect/link the master sale.

    You only have to submit the form after going to return page. The view file is themes/default/admin/views/sales/return_sale.php

    Thank you

  • UB

    Umair Baba

    Answered

    Hello,

    I got your point for lock the sale edit when we return from the list sales page by the actions menu.

    I want to bring that Return sale button to the same place where we have the actions button. Please check the attached screenshots for an explanation. https://tinyurl.com/ycweck9l sales page

    what I want https://tinyurl.com/y8drqmtr

    Thank you.

  • MS

    Mian Saleem

    Answered

    Hello,

    You can modify the actions column is prepared in getSales method of app/controllers/admin/Sales.php

    Thank you

  • MS

    Mian Saleem

    Answered

    Hello,

    Please check your base_url in app/config/config.php it must start with https://

    Thank you

  • UB

    Umair Baba

    Answered

    Thanks, it’s working now

  • Login to Reply