lunar
lunar copied to clipboard
HUB: Available notifications not appearing in order change status
- Lunar version: 0.8.0
- Laravel Version: 10.43.0
- PHP Version: 8.2.5
Expected Behaviour:
Display available notifications when changing the order status in HUB area.
Actual Behaviour:
Even if there are notifications added in config file, they are not appearing in the list.
Steps To Reproduce:
Add in config/lunar/order.php a new generated notification, for example OrderDispatched.
........
'notifications' => [
App\Notifications\Order\OrderDispatched::class
],
Place a order and then enter in hub and access the order detail page. Press the change status and select the desires status that you registered in the config file. The error is not present that states that there are no notifications available for that status but there are no notifications available.
I digged in vendor and I found that if there are notifications available, no action is made.
vendor/lunarphp/lunar/packages/admin/resources/views/livewire/components/orders/status.blade.php
, line 70
For example, if we scroll up a little, we see the availableMailers logic and we have this:
So can you confirm that you have put the notification under the correct order status in the config and it's not appearing when you select that status?
Closing due to inactivity