FacturaScripts

CostPriceTools
in package

Description of CostPriceTools

Tags
author

Carlos Garcia Gomez [email protected]

author

Raul Jimenez [email protected]

Table of Contents

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
Return values
void

updateAveragePrice()

Returns the average price to buy this product.

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

updateHighPrice()

Returns the high price to buy this product.

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

updateLastPrice()

Returns the last price to buy this product.

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

Search results