feat: Implement payment method fields, refactor order creation logic to support detailed order items and VM provisioning, and add admin notifications.

This commit is contained in:
pbao9
2026-03-11 10:14:32 +07:00
parent 7fdcc01027
commit 5649674eb4
9 changed files with 208 additions and 61 deletions
+5
View File
@@ -35,3 +35,8 @@ Broadcast::channel('Panel.Status.{id}', function ($user, $id) {
Broadcast::channel('user.{id}', function ($user, $id) {
return (int) $user->id === (int) $id;
}, ['guards' => ['client']]);
// Admin notifications channel (public — all authenticated admins)
Broadcast::channel('admin-notifications', function () {
return true;
}, ['guards' => ['admin', 'admins-api']]);