1
0
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:
MatteoPistorello
2022-02-18 16:23:35 +01:00
parent a963790440
commit b8c8c1539f

View File

@@ -258,7 +258,7 @@ class Ordine extends Document
public function getReferenceNumber()
{
return $this->numero_esterno ?: $this->numero;
return $this->numero_cliente ?: ($this->numero_esterno ?: $this->numero);
}
public function getReferenceDate()