[url removed, login to view]
This a page to check after each delivery of a product the status of the stock. It will be called from transaction page (already done), after each transaction.
This application will check If the stock is less or equal to the minimum stock (in product table where nStockAlert…) then 2 processes has to be initiated:
1- Send SMS to users (table users where….) through web sms gateway (post method: [url removed, login to view] with variables)
2- Send email users (table users where….)