mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Doc
This commit is contained in:
parent
be14fc65e9
commit
2a7f9378c9
|
|
@ -251,7 +251,9 @@ The following changes may create regressions for some external modules, but were
|
|||
* Endpoint for API /partnershipapi and /recruitment has been renamed into /partnerships and /recruitments to follow name conventions.
|
||||
* Hidden option ACCOUNTANCY_AUTOFIX_MISSING_LINK_TO_USEr_ON_SALARY_BANK_PAYMENT has been renamed into ACCOUNTANCY_AUTOFIX_MISSING_LINK_TO_USER_ON_SALARY_BANK_PAYMENT
|
||||
* The delete() method of AdherentType, Contact, Delivery, MultiCurrency, CurrencyRate now need $user as first parameter.
|
||||
|
||||
* A very high number of class properties (with old name in french) are now deprecated in favor of the property name in english.
|
||||
|
||||
|
||||
***** ChangeLog for 18.0.3 compared to 18.0.2 *****
|
||||
FIX: #25793 Cannot add time spent (#26405)
|
||||
FIX: #26100 Ticket - On edit, list of closed project must be excluded (#26223)
|
||||
|
|
|
|||
|
|
@ -83,6 +83,11 @@ class FactureFournisseurRec extends CommonInvoice
|
|||
public $ref_supplier;
|
||||
public $socid;
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
public $fk_soc;
|
||||
|
||||
public $suspended; // status
|
||||
|
||||
/**
|
||||
|
|
@ -491,8 +496,10 @@ class FactureFournisseurRec extends CommonInvoice
|
|||
$sql .= " titre = '" . (!empty($this->title) ? $this->db->escape($this->title) : "")."'," ;
|
||||
$sql .= " ref_supplier = '". (!empty($this->ref_supplier) ? $this->db->escape($this->ref_supplier) : "")."',";
|
||||
$sql .= " entity = ". (!empty($this->entity) ? ((int) $this->entity) : 1) . ',';
|
||||
if ($this->fk_soc > 0) {
|
||||
$sql .= " fk_soc = ". (int) $this->fk_soc. ',';
|
||||
if (!empty($this->socid) && $this->socid > 0) {
|
||||
$sql .= " fk_soc = ". ((int) $this->socid). ',';
|
||||
} elseif (!empty($this->fk_soc) && $this->fk_soc > 0) { // For backward compatibility
|
||||
$sql .= " fk_soc = ". ((int) $this->fk_soc). ',';
|
||||
}
|
||||
$sql .= " suspended = ". (!empty($this->suspended) ? ((int) $this->suspended) : 0) . ',';
|
||||
$sql .= " libelle = ". (!empty($this->libelle) ? "'".$this->db->escape($this->libelle)."'" : 'NULL') . ",";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user