Skip to content

Commit

Permalink
Update fournisseur.product.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
le-reparateur authored Mar 9, 2024
1 parent e74e638 commit 95e893f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htdocs/fourn/class/fournisseur.product.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ public function update_buyprice($qty, $buyprice, $user, $price_base_type, $fourn
}
$sql = "UPDATE ".MAIN_DB_PREFIX."product_fournisseur_price";
$sql .= " SET fk_user = ".((int) $user->id)." ,";
$sql .= " datec = '".$this->db->idate($now)."' ,";
$sql .= " ref_fourn = '".$this->db->escape($ref_fourn)."',";
$sql .= " desc_fourn = '".$this->db->escape($desc_fourn)."',";
$sql .= " price = ".((float) $buyprice).",";
Expand Down

0 comments on commit 95e893f

Please sign in to comment.