Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
54a6dc5545
@ -270,7 +270,7 @@ while ($i < min($num, $limit)) {
|
||||
|
||||
$payment_sc_static->id = $obj->pid;
|
||||
$payment_sc_static->ref = $obj->pid;
|
||||
$payment_sc_static->date = $db->jdate($obj->datep);
|
||||
$payment_sc_static->datep = $db->jdate($obj->datep);
|
||||
|
||||
$socialcontrib->id = $obj->rowid;
|
||||
$socialcontrib->ref = empty($obj->label_sc) ? $obj->type_label : $obj->label_sc;
|
||||
|
||||
@ -75,7 +75,7 @@ abstract class ModeleNumRefBarCode
|
||||
*/
|
||||
public function getNom($langs)
|
||||
{
|
||||
return empty($this->name) ? $this->nom : $this->name;
|
||||
return empty($this->name) ? get_class($this) : $this->name;
|
||||
}
|
||||
|
||||
/** Return a numbering example
|
||||
|
||||
Loading…
Reference in New Issue
Block a user