Question: Trying To Change The Direction Of Alerts Function

Trying To Change The Direction Of Alerts Function

Hi Mian! I hope you're doing well! I need your help... Currently, the alerts work by alerting when the product is below a certain quantity. I am trying to change the direction of the a

B(

Beyhan Mehmedov (MoJo)

Asked

Hi Mian! I hope you’re doing well!

I need your help… Currently, the alerts work by alerting when the product is below a certain quantity. I am trying to change the direction of the alert function to show me the products in stock if I have 1 or more units. I searched for the fragment in some files, but couldn’t find any results. Please tell me which file I need to look for this function in. And if you could give me a hint as to what exactly needs to be changed, I would be doubly grateful!

Best Regards!

  • MS

    Mian Saleem

    Answered

    Hello,

    I am sorry as I didn’t understand what you are trying to do. If you click the application alerts, it will show the warehouse for low quantity alerts and clicking on the warehouse will bring you the page where the table will have item name, code, alert quantity and the current quantity.

    The alert modal view file is resources/js/Shared/Top/AlertsModal.vue and it gets the data from alerts method if app/Http/Controllers/AjaxController.php

    Thank you

  • B(

    Beyhan Mehmedov (MoJo)

    Answered

    Yes! I did it! I changed the alerts for low stock to show the items in stock if they are 1 or +. This is what I need. Thank you very much for your help.

  • Login to Reply