Esempio n. 1
0
 function getDIOH($articles_id, $current_stock)
 {
     //old method using old function
     //return calculateDIOH($current_stock, $this->log_articles[$articles_id][self::DIOH_BASENUMBER_COLUMN_NAME]);
     //new method using forecasting
     $fc = new forecasting();
     return $fc->calculateDIOH($current_stock, $this->log_articles[$articles_id][self::FORECAST_DAILY_COLUMN_NAME]);
 }