We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a822c33 commit e0870d3Copy full SHA for e0870d3
1 file changed
src/Traits/ReferenceTrait.php
@@ -35,7 +35,7 @@ abstract public function getReferenceRagioneSociale();
35
public function getReference($show_ragione_sociale = null)
36
{
37
// Informazioni disponibili
38
- $name = $this->getReferenceName() ?? $this->getReferenceName()->descrizione;
+ $name = $this->getReferenceName()->name ?? ($this->getReferenceName()->descrizione ?? $this->getReferenceName());
39
40
$number = $this->getReferenceNumber();
41
$secondary_number = $this->getReferenceSecondaryNumber();
0 commit comments