From 8e566db28ea8f446e81a256d178340c8af6af954 Mon Sep 17 00:00:00 2001 From: Roberto Guido Date: Mon, 18 Dec 2023 23:41:25 +0100 Subject: [PATCH 1/3] piccolo fix in traduzioni --- code/resources/views/product/base-edit.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/resources/views/product/base-edit.blade.php b/code/resources/views/product/base-edit.blade.php index 91637f7d..e6d603a1 100644 --- a/code/resources/views/product/base-edit.blade.php +++ b/code/resources/views/product/base-edit.blade.php @@ -1,6 +1,6 @@ - + - + From 11136a92ff6713497f96fdb3d1fbf8f6b2fffd9f Mon Sep 17 00:00:00 2001 From: Roberto Guido Date: Mon, 18 Dec 2023 23:47:48 +0100 Subject: [PATCH 2/3] piccolo fix in salvataggio valori booleani --- code/app/Services/BaseService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/app/Services/BaseService.php b/code/app/Services/BaseService.php index 380ce4ad..5059c57b 100644 --- a/code/app/Services/BaseService.php +++ b/code/app/Services/BaseService.php @@ -70,7 +70,7 @@ protected function setIfSet($target, array $source, $key, $default = null) protected function boolIfSet($target, array $source, $key, $default = null) { - $target->$key = (isset($source[$key]) && $source[$key] !== false); + $target->$key = (isset($source[$key]) && $source[$key] !== false && $source[$key] !== 0); } protected function transformAndSetIfSet($target, array $source, $key, $transformerFunction) From 1bc85697a0a4b09014bbda16ad6dbb678229fdad Mon Sep 17 00:00:00 2001 From: Roberto Guido Date: Tue, 19 Dec 2023 00:26:05 +0100 Subject: [PATCH 3/3] =?UTF-8?q?fix=20in=20rappresentazione=20quantit=C3=A0?= =?UTF-8?q?=20prenotata/consegnata.=20closes=20#240?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/resources/views/delivery/edit.blade.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/resources/views/delivery/edit.blade.php b/code/resources/views/delivery/edit.blade.php index 41c57773..2de66ad6 100644 --- a/code/resources/views/delivery/edit.blade.php +++ b/code/resources/views/delivery/edit.blade.php @@ -9,6 +9,11 @@ $master_summary = $aggregate->reduxData(); $currency_symbol = defaultCurrency()->symbol; +/* + In fase di consegna, aggrego sempre tutte le quantità +*/ +app()->make('AggregationSwitch')->setEnforced(true); + ?>