mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Fix numero riferimento ordine in fase di importazione
This commit is contained in:
@@ -258,7 +258,7 @@ class Ordine extends Document
|
|||||||
|
|
||||||
public function getReferenceNumber()
|
public function getReferenceNumber()
|
||||||
{
|
{
|
||||||
return $this->numero_esterno ?: $this->numero;
|
return $this->numero_cliente ?: ($this->numero_esterno ?: $this->numero);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getReferenceDate()
|
public function getReferenceDate()
|
||||||
|
Reference in New Issue
Block a user