mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Renamed property of thirdparty "statut_commercial" into
"status_prospect_label"
This commit is contained in:
parent
1cc9954f61
commit
c9a620d1a6
|
|
@ -28,6 +28,7 @@ Following changes may create regressions for some external modules, but were nec
|
|||
* All properties 'libstatut', 'labelstatut', 'labelstatus' were renamed into 'labelStatus'.
|
||||
* All properties 'labelstatusshort' and 'labelstatut_short' were renamed into 'labelStatusShort'.
|
||||
* All properties 'type_libelle' were renamed into 'type_label'.
|
||||
* Renamed property of thirdparty "statut_commercial" into "status_prospect_label"
|
||||
|
||||
***** ChangeLog for 10.0.3 compared to 10.0.2 *****
|
||||
IMPORTANT : This version fixes a serious bug in saving the units of weight, size, surface and volume on product card.
|
||||
|
|
|
|||
|
|
@ -399,9 +399,16 @@ class Societe extends CommonObject
|
|||
*/
|
||||
public $note_public;
|
||||
|
||||
//! code statut prospect
|
||||
/**
|
||||
* Status prospect id
|
||||
* @var int
|
||||
*/
|
||||
public $stcomm_id;
|
||||
public $statut_commercial;
|
||||
/**
|
||||
* Status prospect label
|
||||
* @var int
|
||||
*/
|
||||
public $status_prospect_label;
|
||||
|
||||
/**
|
||||
* Assigned price level
|
||||
|
|
@ -1354,9 +1361,9 @@ class Societe extends CommonObject
|
|||
$this->state = ($obj->state!='-'?$obj->state:'');
|
||||
|
||||
$transcode=$langs->trans('StatusProspect'.$obj->fk_stcomm);
|
||||
$libelle=($transcode!='StatusProspect'.$obj->fk_stcomm?$transcode:$obj->stcomm);
|
||||
$this->stcomm_id = $obj->fk_stcomm; // id statut commercial
|
||||
$this->statut_commercial = $libelle; // libelle statut commercial
|
||||
$label = ($transcode!='StatusProspect'.$obj->fk_stcomm ? $transcode : $obj->stcomm);
|
||||
$this->stcomm_id = $obj->fk_stcomm; // id status prospect
|
||||
$this->status_prospect_label = $label; // label status prospect
|
||||
|
||||
$this->email = $obj->email;
|
||||
$this->skype = $obj->skype;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user