Booking lifecycle notifications and status updates
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
from django.contrib import admin
|
||||
|
||||
from apps.notifications.models import Notification
|
||||
|
||||
|
||||
@admin.register(Notification)
|
||||
class NotificationAdmin(admin.ModelAdmin):
|
||||
list_display = (
|
||||
"id",
|
||||
"event",
|
||||
"channel",
|
||||
"status",
|
||||
"booking",
|
||||
"recipient",
|
||||
"phone_number",
|
||||
"provider",
|
||||
"sent_at",
|
||||
"created_at",
|
||||
)
|
||||
list_filter = ("event", "channel", "status", "provider")
|
||||
search_fields = ("phone_number", "message")
|
||||
Reference in New Issue
Block a user