diff --git a/resources/assets/js/views/banking/transactions.js b/resources/assets/js/views/banking/transactions.js
index b68954255..6cc9348f9 100644
--- a/resources/assets/js/views/banking/transactions.js
+++ b/resources/assets/js/views/banking/transactions.js
@@ -52,7 +52,7 @@ const app = new Vue({
this.component = Vue.component('add-new-component', (resolve, reject) => {
resolve({
- template: '
',
+ template: '
',
mixins: [
Global
diff --git a/resources/assets/js/views/common/documents.js b/resources/assets/js/views/common/documents.js
index 26fe67ac2..32c721cc4 100644
--- a/resources/assets/js/views/common/documents.js
+++ b/resources/assets/js/views/common/documents.js
@@ -856,7 +856,7 @@ const app = new Vue({
this.component = Vue.component('add-new-component', (resolve, reject) => {
resolve({
- template: '
',
+ template: '
',
mixins: [
Global
diff --git a/resources/views/modals/companies/edit.blade.php b/resources/views/modals/companies/edit.blade.php
index 967cee3c6..7d787469d 100644
--- a/resources/views/modals/companies/edit.blade.php
+++ b/resources/views/modals/companies/edit.blade.php
@@ -1,17 +1,17 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
From 43cbffe56a108a3345a9b199fe8cd69d15dc2dc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?=
Date: Tue, 11 Oct 2022 09:20:37 +0300
Subject: [PATCH 16/18] typo
---
.../assets/js/components/AkauntingSelect.vue | 32 ++++++++++---------
.../js/components/AkauntingSelectRemote.vue | 30 +++++++++--------
.../components/form/group/select.blade.php | 8 ++---
3 files changed, 37 insertions(+), 33 deletions(-)
diff --git a/resources/assets/js/components/AkauntingSelect.vue b/resources/assets/js/components/AkauntingSelect.vue
index 2fa5c21a0..41321fac4 100644
--- a/resources/assets/js/components/AkauntingSelect.vue
+++ b/resources/assets/js/components/AkauntingSelect.vue
@@ -300,7 +300,7 @@ export default {
description: "Selectbox input search placeholder text"
},
- dynamicOptionsValueCheck: {
+ forceDynamicOptionValue: {
type: [Boolean, String],
default: false,
},
@@ -871,25 +871,27 @@ export default {
},
dynamicOptionsValue(options) {
- if (this.dynamicOptionsValueCheck) {
+ if (! this.forceDynamicOptionValue) {
if (this.multiple) {
- let selected = this.selected;
this.selected = [];
-
- selected.forEach(function (select, index) {
- if (this.sorted_options.find((option) => option.key == select)) {
- this.selected.push(select);
- }
- }, this);
} else {
- if (!options.find((option) => option == this.selected)) {
- this.selected = null;
- }
+ this.selected = null;
}
+
+ return;
+ }
+
+ if (this.multiple) {
+ let selected = this.selected;
+ this.selected = [];
+
+ selected.forEach(function (select, index) {
+ if (this.sorted_options.find((option) => option.key == select)) {
+ this.selected.push(select);
+ }
+ }, this);
} else {
- if (this.multiple) {
- this.selected = [];
- } else {
+ if (! options.find((option) => option == this.selected)) {
this.selected = null;
}
}
diff --git a/resources/assets/js/components/AkauntingSelectRemote.vue b/resources/assets/js/components/AkauntingSelectRemote.vue
index c2c5f23d5..f7a73337d 100644
--- a/resources/assets/js/components/AkauntingSelectRemote.vue
+++ b/resources/assets/js/components/AkauntingSelectRemote.vue
@@ -1090,25 +1090,27 @@ export default {
},
dynamicOptionsValue(options) {
- if (this.dynamicOptionsValueCheck) {
+ if (! this.forceDynamicOptionValue) {
if (this.multiple) {
- let selected = this.selected;
this.selected = [];
-
- selected.forEach(function (select, index) {
- if (this.sorted_options.find((option) => option.key == select)) {
- this.selected.push(select);
- }
- }, this);
} else {
- if (!options.find((option) => option == this.selected)) {
- this.selected = null;
- }
+ this.selected = null;
}
+
+ return;
+ }
+
+ if (this.multiple) {
+ let selected = this.selected;
+ this.selected = [];
+
+ selected.forEach(function (select, index) {
+ if (this.sorted_options.find((option) => option.key == select)) {
+ this.selected.push(select);
+ }
+ }, this);
} else {
- if (this.multiple) {
- this.selected = [];
- } else {
+ if (! options.find((option) => option == this.selected)) {
this.selected = null;
}
}
diff --git a/resources/views/components/form/group/select.blade.php b/resources/views/components/form/group/select.blade.php
index 52460a915..f77ae8b03 100644
--- a/resources/views/components/form/group/select.blade.php
+++ b/resources/views/components/form/group/select.blade.php
@@ -65,10 +65,10 @@
search-text="{{ $searchText }}"
@endif
- @if (! empty($attributes['dynamic-options-value-check']))
- dynamic-options-value-check
- @elseif (! empty($dynamicOptionsValueCheck))
- dynamic-options-value-check
+ @if (! empty($attributes['force-dynamic-option-value']))
+ force-dynamic-option-value
+ @elseif (! empty($forceDynamicOptionValue))
+ force-dynamic-option-value
@endif
@if (empty($multiple))
From f28da03902a14e50e59d0ea02061477e764a474c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?=
Date: Tue, 11 Oct 2022 09:26:20 +0300
Subject: [PATCH 17/18] added update listeners
---
app/Listeners/Update/V30/Version307.php | 43 +++++++++++++++++++++++++
app/Providers/Event.php | 1 +
2 files changed, 44 insertions(+)
create mode 100644 app/Listeners/Update/V30/Version307.php
diff --git a/app/Listeners/Update/V30/Version307.php b/app/Listeners/Update/V30/Version307.php
new file mode 100644
index 000000000..99edd8b60
--- /dev/null
+++ b/app/Listeners/Update/V30/Version307.php
@@ -0,0 +1,43 @@
+skipThisUpdate($event)) {
+ return;
+ }
+
+ Log::channel('stdout')->info('Updating to 3.0.7 version...');
+
+ $this->updateDatabase();
+
+ Log::channel('stdout')->info('Done!');
+ }
+
+ public function updateDatabase(): void
+ {
+ Log::channel('stdout')->info('Updating database...');
+
+ Artisan::call('migrate', ['--force' => true]);
+
+ Log::channel('stdout')->info('Database updated.');
+ }
+}
diff --git a/app/Providers/Event.php b/app/Providers/Event.php
index 56bec2104..b3ccb7d31 100644
--- a/app/Providers/Event.php
+++ b/app/Providers/Event.php
@@ -19,6 +19,7 @@ class Event extends Provider
'App\Listeners\Update\V30\Version303',
'App\Listeners\Update\V30\Version304',
'App\Listeners\Update\V30\Version305',
+ 'App\Listeners\Update\V30\Version307',
],
'Illuminate\Auth\Events\Login' => [
'App\Listeners\Auth\Login',
From c0deb8a190367741c8c7e10cede2055e312f3284 Mon Sep 17 00:00:00 2001
From: Burak Civan
Date: Tue, 11 Oct 2022 10:32:47 +0300
Subject: [PATCH 18/18] css compiled
---
public/css/app.css | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/public/css/app.css b/public/css/app.css
index 419e80f3f..9d5d2828f 100644
--- a/public/css/app.css
+++ b/public/css/app.css
@@ -50010,6 +50010,10 @@ body{
height: auto;
}
+ .lg\:w-9{
+ width: 2.25rem;
+ }
+
.lg\:w-1\/2{
width: 50%;
}
@@ -50102,10 +50106,6 @@ body{
width: 75%;
}
- .lg\:w-9{
- width: 2.25rem;
- }
-
.lg\:max-w-7xl{
max-width: 80rem;
}