From b503815d0dd8e088ece279db1fa3577778b7c71d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Fri, 25 Feb 2022 19:53:35 +0300 Subject: [PATCH 1/2] fixed document item update.. --- app/Models/Document/DocumentItem.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Models/Document/DocumentItem.php b/app/Models/Document/DocumentItem.php index dc681291f..d7b303f31 100644 --- a/app/Models/Document/DocumentItem.php +++ b/app/Models/Document/DocumentItem.php @@ -59,6 +59,12 @@ class DocumentItem extends Model $model->setTaxIds(); } ); + + static::saving( + function ($model) { + $model->offsetUnset('tax_ids'); + } + ); } public function document() From 4caa5713695cf13ec47518e7b9c4eaec7f9774c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Mon, 28 Feb 2022 18:37:56 +0300 Subject: [PATCH 2/2] fixed update center get steps issue.. --- resources/assets/js/views/install/update.js | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/assets/js/views/install/update.js b/resources/assets/js/views/install/update.js index c78ab6c74..0714919b5 100644 --- a/resources/assets/js/views/install/update.js +++ b/resources/assets/js/views/install/update.js @@ -74,6 +74,7 @@ const app = new Vue({ async steps() { let name = document.getElementById('name').value; + let version = document.getElementById('version').value; let steps_promise = Promise.resolve(axios.post(url + '/install/updates/steps', { name: name,