FacturaScripts

CostPriceTools
in package

Description of CostPriceTools

Table of Contents

Methods

update()  : void
updateActualPrice()  : void
Returns the actual cost of the product stock.
updateAveragePrice()  : void
Returns the average price to buy this product.
updateHighPrice()  : void
Returns the high price to buy this product.
updateLastPrice()  : void
Returns the last price to buy this product.

Methods

updateActualPrice()

Returns the actual cost of the product stock.

protected static updateActualPrice(Variante $variant) : void
Parameters
$variant : Variante

updateAveragePrice()

Returns the average price to buy this product.

protected static updateAveragePrice(Variante $variant) : void
Parameters
$variant : Variante

updateHighPrice()

Returns the high price to buy this product.

protected static updateHighPrice(Variante $variant) : void
Parameters
$variant : Variante

updateLastPrice()

Returns the last price to buy this product.

protected static updateLastPrice(Variante $variant) : void
Parameters
$variant : Variante

        
On this page

Search results