@@ -25,8 +25,7 @@ |
||
25 | 25 | 'link' => '/warehouses', |
26 | 26 | 'message' => "{$rack->name} in {$rack->warehouse->name} is almost full ({$rack->usedd} of {$rack->capacity} used).", |
27 | 27 | ])); |
28 | - } |
|
29 | - else if($rack->isFull()){ |
|
28 | + } else if($rack->isFull()){ |
|
30 | 29 | $rack->makeNotification(Notification::findOrNew([ |
31 | 30 | 'icon' => 'error', |
32 | 31 | 'link' => '/warehouses', |