mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 17:13:03 +01:00
Update commonobject.class.php - defineBuyPrice() return type
This commit is contained in:
@@ -8964,7 +8964,7 @@ abstract class CommonObject
|
||||
* @param float $unitPrice Product unit price
|
||||
* @param float $discountPercent Line discount percent
|
||||
* @param int $fk_product Product id
|
||||
* @return float Return integer <0 if KO, buyprice if OK
|
||||
* @return float|int Return buy price if OK, integer <0 if KO
|
||||
*/
|
||||
public function defineBuyPrice($unitPrice = 0.0, $discountPercent = 0.0, $fk_product = 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user