From 1ccf01c2b29de885d243d9abdf003d9f43e55539 Mon Sep 17 00:00:00 2001
From: Henning Leutz <leutz@pcsg.de>
Date: Wed, 14 Sep 2022 09:35:50 +0000
Subject: [PATCH] fix: keep priceFactors at refresh

---
 bin/backend/controls/panels/TemporaryInvoice.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/backend/controls/panels/TemporaryInvoice.js b/bin/backend/controls/panels/TemporaryInvoice.js
index 770659f..25a9b3b 100644
--- a/bin/backend/controls/panels/TemporaryInvoice.js
+++ b/bin/backend/controls/panels/TemporaryInvoice.js
@@ -167,7 +167,8 @@ define('package/quiqqer/invoice/bin/backend/controls/panels/TemporaryInvoice', [
 
                 if (data.articles.articles && data.articles.articles.length) {
                     self.$serializedList = {
-                        articles: data.articles.articles
+                        articles    : data.articles.articles,
+                        priceFactors: data.articles.priceFactors
                     };
 
                     self.setAttribute('articles', data.articles.articles);
-- 
GitLab