From 351274c63322d0e2a5af7d714718190e98d74f18 Mon Sep 17 00:00:00 2001 From: Daniel Meltzer Date: Thu, 19 Jul 2018 13:38:50 -0400 Subject: [PATCH 1/4] Hotfix: the checkin_email does not exist on consumable. (#5891) --- app/Notifications/CheckoutConsumableNotification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Notifications/CheckoutConsumableNotification.php b/app/Notifications/CheckoutConsumableNotification.php index ef5ab79e4c..1811c70401 100644 --- a/app/Notifications/CheckoutConsumableNotification.php +++ b/app/Notifications/CheckoutConsumableNotification.php @@ -80,7 +80,7 @@ class CheckoutConsumableNotification extends Notification /** * Send an email if an email should be sent at checkin/checkout */ - if ($this->item->checkin_email()) { + if ((method_exists($this->item, 'checkin_email')) && ($this->item->checkin_email())) { $notifyBy[1] = 'mail'; } From de2ebba577c3816c53298ec26c5e6c2f18ea512a Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 19 Jul 2018 10:38:01 -0700 Subject: [PATCH 2/4] Category add/edit UI tweaks --- resources/views/categories/edit.blade.php | 47 ++++++++++++++--------- 1 file changed, 29 insertions(+), 18 deletions(-) diff --git a/resources/views/categories/edit.blade.php b/resources/views/categories/edit.blade.php index 6a7cc309bd..88bc6457be 100755 --- a/resources/views/categories/edit.blade.php +++ b/resources/views/categories/edit.blade.php @@ -32,41 +32,52 @@ -
-