From 03dd0069796c220c16274a4bc9f1f8df21a21daf Mon Sep 17 00:00:00 2001 From: Luca Date: Fri, 23 Feb 2024 19:44:46 +0100 Subject: [PATCH] Fix #1440 --- modules/ordini/src/Ordine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ordini/src/Ordine.php b/modules/ordini/src/Ordine.php index 198f92c69..9c3502b35 100755 --- a/modules/ordini/src/Ordine.php +++ b/modules/ordini/src/Ordine.php @@ -281,7 +281,7 @@ class Ordine extends Document public function getReferenceDate() { - return $this->data; + return $this->data_cliente ?: $this->data; } public function getReferenceRagioneSociale()