diff --git a/public/akaunting-js/generalAction.js b/public/akaunting-js/generalAction.js index c863f94af..0743d8107 100644 --- a/public/akaunting-js/generalAction.js +++ b/public/akaunting-js/generalAction.js @@ -29,6 +29,9 @@ document.querySelectorAll("[data-table-body]").forEach((table) => { let td_item = td[i]; td_item.addEventListener("click", (event) => { + if (document.body.clientWidth < 768 && event.target.closest('[overflow-x-hidden]')) { + return; + } // click disabled when preview dialog is open if (event.target.closest('[data-tooltip-target]')) { return; @@ -436,6 +439,7 @@ function marqueeAnimation(truncate) { //there is overflow class for the animation does not overflow the width truncate.parentElement.parentElement.classList.add('overflow-x-hidden'); + truncate.parentElement.parentElement.setAttribute('overflow-x-hidden', true); } } diff --git a/public/css/app.css b/public/css/app.css index 1d98bee48..f6ef336c3 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -53686,6 +53686,16 @@ table thead a:hover{ padding-right: 8px !important; } +.el-select-dropdown__item .new-badge { + width: 45px !important; + margin-left: 8px; + z-index: 99; +} + +.el-select-dropdown__item .new-badge:hover { + background-color: #6ea152; +} + .el-select-dropdown__item .material-icons { padding-right: 0 !important; padding-left: 0 !important; diff --git a/resources/assets/sass/app.css b/resources/assets/sass/app.css index e4afcb3c3..3bcdbf210 100644 --- a/resources/assets/sass/app.css +++ b/resources/assets/sass/app.css @@ -308,6 +308,16 @@ padding-right: 8px !important; } +.el-select-dropdown__item .new-badge { + width: 45px !important; + margin-left: 8px; + z-index: 99; +} + +.el-select-dropdown__item .new-badge:hover { + background-color: #6ea152; +} + .el-select-dropdown__item .material-icons { padding-right: 0 !important; padding-left: 0 !important; diff --git a/resources/views/banking/accounts/show.blade.php b/resources/views/banking/accounts/show.blade.php index c52c61943..b4cd4799f 100644 --- a/resources/views/banking/accounts/show.blade.php +++ b/resources/views/banking/accounts/show.blade.php @@ -4,7 +4,9 @@ -
+
+ + @if (! $account->enabled) @endif diff --git a/resources/views/components/layouts/admin/header.blade.php b/resources/views/components/layouts/admin/header.blade.php index 19aeb37aa..701623361 100644 --- a/resources/views/components/layouts/admin/header.blade.php +++ b/resources/views/components/layouts/admin/header.blade.php @@ -13,7 +13,7 @@ @if (! empty($status)) -
+
{!! $status !!}
@endif diff --git a/resources/views/components/layouts/portal/header.blade.php b/resources/views/components/layouts/portal/header.blade.php index 13be37276..9ac85a72e 100644 --- a/resources/views/components/layouts/portal/header.blade.php +++ b/resources/views/components/layouts/portal/header.blade.php @@ -13,7 +13,7 @@ @if (! empty($status)) -
+
{!! $status !!}
@endif diff --git a/resources/views/components/layouts/preview/header.blade.php b/resources/views/components/layouts/preview/header.blade.php index 13be37276..9ac85a72e 100644 --- a/resources/views/components/layouts/preview/header.blade.php +++ b/resources/views/components/layouts/preview/header.blade.php @@ -13,7 +13,7 @@ @if (! empty($status)) -
+
{!! $status !!}
@endif diff --git a/resources/views/components/layouts/signed/header.blade.php b/resources/views/components/layouts/signed/header.blade.php index 478d6a956..bc9cf3519 100644 --- a/resources/views/components/layouts/signed/header.blade.php +++ b/resources/views/components/layouts/signed/header.blade.php @@ -13,7 +13,7 @@ @if (! empty($status)) -
+
{!! $status !!}
@endif diff --git a/resources/views/portal/invoices/preview.blade.php b/resources/views/portal/invoices/preview.blade.php index c65867582..46fbf9f0c 100644 --- a/resources/views/portal/invoices/preview.blade.php +++ b/resources/views/portal/invoices/preview.blade.php @@ -23,72 +23,69 @@
@if (! empty($payment_methods) && ! in_array($invoice->status, ['paid', 'cancelled'])) - +
@php $is_active = true; @endphp - -
-
- @foreach ($payment_methods as $key => $name) - @stack('invoice_{{ $key }}_tab_start') -
- -
- {{ $name }} -
-
-
- @stack('invoice_{{ $key }}_tab_end') +
+
+ @foreach ($payment_methods as $key => $name) + @stack('invoice_{{ $key }}_tab_start') + + @stack('invoice_{{ $key }}_tab_end') - @php $is_active = false; @endphp - @endforeach + @php $is_active = false; @endphp + @endforeach +
+ + @if (count($payment_methods) > 3) +
+ chevron_right
- @if (count($payment_methods) > 3) -
- chevron_right -
- -
- chevron_left -
- @endif -
- +
+ chevron_left +
+ @endif +
@php $is_active = true; @endphp - - @foreach ($payment_methods as $key => $name) - @stack('invoice_{{ $key }}_content_start') - -
- -
-
- @stack('invoice_{{ $key }}_content_end') + @foreach ($payment_methods as $key => $name) + @stack('invoice_{{ $key }}_content_start') +
+ +
+ @stack('invoice_{{ $key }}_content_end') - @php $is_active = false; @endphp - @endforeach + @php $is_active = false; @endphp + @endforeach - - + + - - -
- + + +
@endif @if ($invoice->transactions->count()) diff --git a/resources/views/portal/invoices/show.blade.php b/resources/views/portal/invoices/show.blade.php index bb1ae6fe6..b62a1b6ec 100644 --- a/resources/views/portal/invoices/show.blade.php +++ b/resources/views/portal/invoices/show.blade.php @@ -21,72 +21,69 @@
@if (! empty($payment_methods) && ! in_array($invoice->status, ['paid', 'cancelled'])) - +
@php $is_active = true; @endphp - -
-
- @foreach ($payment_methods as $key => $name) - @stack('invoice_{{ $key }}_tab_start') -
- -
- {{ $name }} -
-
-
- @stack('invoice_{{ $key }}_tab_end') +
+
+ @foreach ($payment_methods as $key => $name) + @stack('invoice_{{ $key }}_tab_start') + + @stack('invoice_{{ $key }}_tab_end') - @php $is_active = false; @endphp - @endforeach + @php $is_active = false; @endphp + @endforeach +
+ + @if (count($payment_methods) > 3) +
+ chevron_right
- @if (count($payment_methods) > 3) -
- chevron_right -
- -
- chevron_left -
- @endif -
- +
+ chevron_left +
+ @endif +
@php $is_active = true; @endphp - - @foreach ($payment_methods as $key => $name) - @stack('invoice_{{ $key }}_content_start') - -
- -
-
- @stack('invoice_{{ $key }}_content_end') + @foreach ($payment_methods as $key => $name) + @stack('invoice_{{ $key }}_content_start') +
+ +
+ @stack('invoice_{{ $key }}_content_end') - @php $is_active = false; @endphp - @endforeach + @php $is_active = false; @endphp + @endforeach - - + + - - -
- + + +
@endif @if ($invoice->transactions->count()) diff --git a/resources/views/portal/invoices/signed.blade.php b/resources/views/portal/invoices/signed.blade.php index 86bed3ae3..a3835c6fe 100644 --- a/resources/views/portal/invoices/signed.blade.php +++ b/resources/views/portal/invoices/signed.blade.php @@ -30,72 +30,69 @@
@if (! empty($payment_methods) && ! in_array($invoice->status, ['paid', 'cancelled'])) - +
@php $is_active = true; @endphp - -
-
- @foreach ($payment_methods as $key => $name) - @stack('invoice_{{ $key }}_tab_start') -
- -
- {{ $name }} -
-
-
- @stack('invoice_{{ $key }}_tab_end') +
+
+ @foreach ($payment_methods as $key => $name) + @stack('invoice_{{ $key }}_tab_start') + + @stack('invoice_{{ $key }}_tab_end') - @php $is_active = false; @endphp - @endforeach + @php $is_active = false; @endphp + @endforeach +
+ + @if (count($payment_methods) > 3) +
+ chevron_right
- @if (count($payment_methods) > 3) -
- chevron_right -
- -
- chevron_left -
- @endif -
- +
+ chevron_left +
+ @endif +
@php $is_active = true; @endphp - - @foreach ($payment_methods as $key => $name) - @stack('invoice_{{ $key }}_content_start') - -
- -
-
- @stack('invoice_{{ $key }}_content_end') - - @php $is_active = false; @endphp - @endforeach + @foreach ($payment_methods as $key => $name) + @stack('invoice_{{ $key }}_content_start') +
+ +
+ @stack('invoice_{{ $key }}_content_end') - - + @php $is_active = false; @endphp + @endforeach - - -
- + + + + + +
@endif @if ($invoice->transactions->count())