diff --git a/app/Listeners/Menu/ShowInNotifications.php b/app/Listeners/Menu/ShowInNotifications.php index db5168fdc..1c6f5103d 100644 --- a/app/Listeners/Menu/ShowInNotifications.php +++ b/app/Listeners/Menu/ShowInNotifications.php @@ -32,7 +32,12 @@ class ShowInNotifications foreach ($updates as $key => $update) { $prefix = ($key == 'core') ? 'core' : 'module'; - $name = ($prefix == 'core') ? 'Akaunting' : module($key)->getName(); + + if ($prefix == 'module' && ! module($key)) { + continue; + } + + $name = ($prefix == 'core') ? 'Akaunting' : module($key)?->getName(); $new = new DatabaseNotification(); $new->id = $key; diff --git a/public/css/app.css b/public/css/app.css index 03c7f7963..404b634c4 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -47133,6 +47133,11 @@ html[dir='rtl'] .el-input__suffix { text-align: left; } +html[dir='rtl'] .el-scrollbar__wrap { + margin-left: -15px !important; + margin-right: unset !important; +} + .el-select-dropdown.is-multiple .el-select-dropdown__item.selected::after { right: 15px !important; } @@ -47846,6 +47851,10 @@ body{ right: 0.5rem; } +[dir="ltr"] .ltr\:left-3{ + left: 0.75rem; +} + [dir="ltr"] .ltr\:-right-2{ right: -0.5rem; } @@ -47862,10 +47871,6 @@ body{ left: 0px; } -[dir="ltr"] .ltr\:left-3{ - left: 0.75rem; -} - [dir="ltr"] .ltr\:left-8{ left: 2rem; } @@ -48013,6 +48018,10 @@ body{ left: 0.5rem; } +[dir="rtl"] .rtl\:right-3{ + right: 0.75rem; +} + [dir="rtl"] .rtl\:-left-2{ left: -0.5rem; } @@ -48029,10 +48038,6 @@ body{ right: 0px; } -[dir="rtl"] .rtl\:right-3{ - right: 0.75rem; -} - [dir="rtl"] .rtl\:right-8{ right: 2rem; } diff --git a/resources/assets/js/components/AkauntingItemButton.vue b/resources/assets/js/components/AkauntingItemButton.vue index f0d73cccc..81cf6f2f0 100644 --- a/resources/assets/js/components/AkauntingItemButton.vue +++ b/resources/assets/js/components/AkauntingItemButton.vue @@ -40,7 +40,7 @@ v-bind="money" masked disabled - class="text-right disabled-money text-gray" + class="ltr:text-right rtl:text-left disabled-money text-gray" > diff --git a/resources/assets/js/components/AkauntingSwitch.vue b/resources/assets/js/components/AkauntingSwitch.vue index 05775e336..f8e9245d4 100644 --- a/resources/assets/js/components/AkauntingSwitch.vue +++ b/resources/assets/js/components/AkauntingSwitch.vue @@ -1,5 +1,5 @@