From 520f2660d1ec38418be1cdf735d2540ee1295899 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Sun, 6 Sep 2020 13:08:00 +0200 Subject: [PATCH] Moved the "Jounral summary" button to the stock journal page --- localization/strings.pot | 6 +++--- views/stockjournal.blade.php | 11 +++++++---- views/stockoverview.blade.php | 17 ++++++++--------- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/localization/strings.pot b/localization/strings.pot index 66e5dd37..55b40579 100644 --- a/localization/strings.pot +++ b/localization/strings.pot @@ -1901,8 +1901,8 @@ msgstr "" msgid "Default" msgstr "" -msgid "Journal-Summary" -msgstr "" - msgid "Stock journal summary" msgstr "" + +msgid "Journal summary" +msgstr "" diff --git a/views/stockjournal.blade.php b/views/stockjournal.blade.php index b2d0a913..a98622dd 100644 --- a/views/stockjournal.blade.php +++ b/views/stockjournal.blade.php @@ -5,12 +5,15 @@ @section('viewJsName', 'stockjournal') @section('content') -
-
-

@yield('title')

+ -
diff --git a/views/stockoverview.blade.php b/views/stockoverview.blade.php index c5d2ef3a..95b1768d 100644 --- a/views/stockoverview.blade.php +++ b/views/stockoverview.blade.php @@ -19,10 +19,6 @@ @@ -331,7 +329,8 @@ && $currentStockEntry->amount > 0) expired @elseif($currentStockEntry->best_before_date < date('Y-m-d 23:59:59', - strtotime("+$nextXDays days")) + strtotime("+$nextXDays + days")) && $currentStockEntry->amount > 0) expiring @endif @if($currentStockEntry->product_missing) belowminstockamount @endif