From a8960150178cfeeae9704250f1cb24972025534a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Duli=C3=A7i?= Date: Wed, 9 Nov 2022 16:34:03 +0300 Subject: [PATCH 1/5] changed landing page --- app/Abstracts/Notification.php | 2 +- .../views/components/layouts/portal/finish/content.blade.php | 2 +- resources/views/portal/invoices/index.blade.php | 2 +- resources/views/portal/payments/index.blade.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Abstracts/Notification.php b/app/Abstracts/Notification.php index 367af653f..196e2a917 100644 --- a/app/Abstracts/Notification.php +++ b/app/Abstracts/Notification.php @@ -91,7 +91,7 @@ abstract class Notification extends BaseNotification implements ShouldQueue public function getFooter() { - $url = 'https://akaunting.com/lp/accounting-software?utm_source=email&utm_medium=footer&utm_campaign=plg&utm_content=' . $this->template->alias; + $url = 'https://akaunting.com/accounting-software?utm_source=email&utm_medium=footer&utm_campaign=plg&utm_content=' . $this->template->alias; $get_started = '' . trans('footer.get_started') . ''; diff --git a/resources/views/components/layouts/portal/finish/content.blade.php b/resources/views/components/layouts/portal/finish/content.blade.php index a3fe90a2c..d7b299d12 100644 --- a/resources/views/components/layouts/portal/finish/content.blade.php +++ b/resources/views/components/layouts/portal/finish/content.blade.php @@ -7,7 +7,7 @@
- + {{ trans('portal.get_started') }}
diff --git a/resources/views/portal/invoices/index.blade.php b/resources/views/portal/invoices/index.blade.php index 4e179cd19..2193520c0 100644 --- a/resources/views/portal/invoices/index.blade.php +++ b/resources/views/portal/invoices/index.blade.php @@ -159,7 +159,7 @@
diff --git a/resources/views/portal/payments/index.blade.php b/resources/views/portal/payments/index.blade.php index 4671b7f02..6fe1a73ed 100644 --- a/resources/views/portal/payments/index.blade.php +++ b/resources/views/portal/payments/index.blade.php @@ -67,7 +67,7 @@
From efa48a869b51aa0e90be862bdba4c0eb2397d61b Mon Sep 17 00:00:00 2001 From: Burak Civan Date: Thu, 10 Nov 2022 13:35:46 +0300 Subject: [PATCH 2/5] added specific class name --- public/css/app.css | 8 ++++++++ resources/assets/sass/app.css | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/public/css/app.css b/public/css/app.css index a2837b0a6..8da69d0b7 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -54059,6 +54059,14 @@ html[dir="rtl"] .lines-radius-border thead td:last-child { } /* responsive for role mobile */ +/* full-width for mobile. Some component use inline styling for width */ +@media only screen and (max-width: 991px) { + .full-width-mobile { + width: 100% !important; + } + } + /* full-width for mobile. Some component use inline styling for width */ + [dir="ltr"] .ltr\:-right-57 { right: -14.5rem; } diff --git a/resources/assets/sass/app.css b/resources/assets/sass/app.css index bab3e1785..9f59be7dc 100644 --- a/resources/assets/sass/app.css +++ b/resources/assets/sass/app.css @@ -572,6 +572,14 @@ html[dir="rtl"] .lines-radius-border thead td:last-child { } /* responsive for role mobile */ +/* full-width for mobile. Some component use inline styling for width */ +@media only screen and (max-width: 991px) { + .full-width-mobile { + width: 100% !important; + } + } + /* full-width for mobile. Some component use inline styling for width */ + [dir="ltr"] .ltr\:-right-57 { right: -14.5rem; } From ae59d90e209f846a929778e0095e3090208b686c Mon Sep 17 00:00:00 2001 From: Burak Civan Date: Thu, 10 Nov 2022 17:42:48 +0300 Subject: [PATCH 3/5] simple icons styling --- public/css/app.css | 2 +- resources/assets/sass/app.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/css/app.css b/public/css/app.css index 8da69d0b7..9fcc9e415 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -1399,7 +1399,7 @@ input[type=file]::file-selector-button:hover{ background-color: #DCE2F9; } -.menu-list a svg { +.menu-list svg { width: 22px; height: 24px; fill: none; diff --git a/resources/assets/sass/app.css b/resources/assets/sass/app.css index 9f59be7dc..a1c665be5 100644 --- a/resources/assets/sass/app.css +++ b/resources/assets/sass/app.css @@ -93,7 +93,7 @@ background-color: #DCE2F9; } - .menu-list a svg { + .menu-list svg { width: 22px; height: 24px; fill: none; From 12a61f1331f5488544858daccbcd57dbc42788f0 Mon Sep 17 00:00:00 2001 From: Burak Civan Date: Fri, 11 Nov 2022 11:46:22 +0300 Subject: [PATCH 4/5] svg styling --- public/css/app.css | 2 +- resources/assets/sass/app.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/css/app.css b/public/css/app.css index 9fcc9e415..e953b3f3b 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -1399,7 +1399,7 @@ input[type=file]::file-selector-button:hover{ background-color: #DCE2F9; } -.menu-list svg { +.menu-list ul svg { width: 22px; height: 24px; fill: none; diff --git a/resources/assets/sass/app.css b/resources/assets/sass/app.css index a1c665be5..14cac23fe 100644 --- a/resources/assets/sass/app.css +++ b/resources/assets/sass/app.css @@ -93,7 +93,7 @@ background-color: #DCE2F9; } - .menu-list svg { + .menu-list ul svg { width: 22px; height: 24px; fill: none; From d64353d656e20d3009566f569d9cebe10a20c3fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Duli=C3=A7i?= Date: Mon, 14 Nov 2022 00:20:04 +0300 Subject: [PATCH 5/5] prevent errors for recurring #33kfqf6 --- app/Traits/Recurring.php | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/app/Traits/Recurring.php b/app/Traits/Recurring.php index ad347f6b2..73db91340 100644 --- a/app/Traits/Recurring.php +++ b/app/Traits/Recurring.php @@ -188,7 +188,11 @@ trait Recurring return false; } - return $schedule->current()->getStart(); + if (! $current = $schedule->current()) { + return false; + } + + return $current->getStart(); } public function getNextRecurring() @@ -210,7 +214,11 @@ trait Recurring return false; } - return $schedule->first()->getStart(); + if (! $first = $schedule->first()) { + return false; + } + + return $first->getStart(); } public function getLastRecurring() @@ -219,6 +227,10 @@ trait Recurring return false; } - return $schedule->last()->getStart(); + if (! $last = $schedule->last()) { + return false; + } + + return $last->getStart(); } }