Properties

$stock_cover_warehouses

$stock_cover_warehouses : 

Type

$stock_cover_periods

$stock_cover_periods : 

Type

Methods

__construct()

__construct() 

initPageHeaderToolbar()

initPageHeaderToolbar() 

renderDetails()

renderDetails() 

renderList()

renderList() 

AdminController::renderList() override

getList()

getList(  $id_lang,   $order_by = null,   $order_way = null,   $start,   $limit = null,   $id_lang_shop = false) 

AdminController::getList() override

Parameters

$id_lang
$order_by
$order_way
$start
$limit
$id_lang_shop

initContent()

initContent() 

initProcess()

initProcess() 

getCurrentCoveragePeriod()

getCurrentCoveragePeriod() : integer

Gets the current coverage period used

Returns

integer —

coverage period

getCurrentCoverageWarehouse()

getCurrentCoverageWarehouse() : integer

Gets the current warehouse used

Returns

integer —

id_warehouse

getCurrentWarning()

getCurrentWarning() : integer

Gets the current warning

Returns

integer —

warn_days

getQuantitySold()

getQuantitySold(integer  $id_product, integer  $id_product_attribute, integer  $coverage) : integer

For a given product, and a given period, returns the quantity sold

Parameters

integer $id_product
integer $id_product_attribute
integer $coverage

Returns

integer —

$quantity