Try to load the corresponding model and print the stock value afrer the decrement execution. The existing data how inserted in database? May you run this code again; Do you use a seed class;
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community