production scheduler fix
This commit is contained in:
@@ -316,8 +316,8 @@ class EcmProduct extends SugarBean {
|
||||
$this->url9 = '<a href="'.$this->url9.'" target="_blank"/>'.$this->url9.'</a>';
|
||||
}
|
||||
|
||||
$r = $GLOBALS['db']->fetchByAssoc($GLOBALS['db']->query("SELECT SUM(quantity) as qty FROM ecmstockstates WHERE product_id='".$this->id."'"));
|
||||
$this->ems_qty_in_stock = $r['qty'];
|
||||
//$r = $GLOBALS['db']->fetchByAssoc($GLOBALS['db']->query("SELECT SUM(quantity) as qty FROM ecmstockstates WHERE product_id='".$this->id."'"));
|
||||
//$this->ems_qty_in_stock = $r['qty'];
|
||||
}
|
||||
function getSale($date){
|
||||
foreach($date as $d){
|
||||
|
||||
Reference in New Issue
Block a user