Enable supplier price log table
This commit is contained in:
parent
db7478098a
commit
bab7533578
@ -57,6 +57,7 @@ For users:
|
|||||||
- Fix: [ bug #1537 ] Difference between societe.nom and adherent.societe.
|
- Fix: [ bug #1537 ] Difference between societe.nom and adherent.societe.
|
||||||
- New: [ task #1204 ] add a External reference to contract
|
- New: [ task #1204 ] add a External reference to contract
|
||||||
- New: [ task #1204 ] add Numering contrat module free (like leopard in product module)
|
- New: [ task #1204 ] add Numering contrat module free (like leopard in product module)
|
||||||
|
- New: Enable supplier price log table
|
||||||
|
|
||||||
For translators:
|
For translators:
|
||||||
- Update language files.
|
- Update language files.
|
||||||
|
|||||||
@ -263,9 +263,9 @@ class ProductFournisseur extends Product
|
|||||||
$error++;
|
$error++;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*if (! $error)
|
if (! $error && !empty($cong->global->PRODUCT_PRICE_SUPPLIER_NO_LOG))
|
||||||
{
|
{
|
||||||
// Ajoute modif dans table log
|
// Add record into log table
|
||||||
$sql = "INSERT INTO ".MAIN_DB_PREFIX."product_fournisseur_price_log(";
|
$sql = "INSERT INTO ".MAIN_DB_PREFIX."product_fournisseur_price_log(";
|
||||||
$sql.= "datec, fk_product_fournisseur,fk_user,price,quantity)";
|
$sql.= "datec, fk_product_fournisseur,fk_user,price,quantity)";
|
||||||
$sql.= "values('".$this->db->idate($now)."',";
|
$sql.= "values('".$this->db->idate($now)."',";
|
||||||
@ -281,7 +281,7 @@ class ProductFournisseur extends Product
|
|||||||
$error++;
|
$error++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
if (! $error)
|
if (! $error)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user