\ProductWarehouse
A product warehouse contains a quantity of a given stock. When an order is made, the stock value is decreased from the order of the warehouses in the CMS.
Synopsis
Hierarchy
Extends
- DataObject
Members
private
- $db
- $has_many
Methods
public
- onBeforeDelete() — Ensure all the stock is removed when we remove the warehouse