feat: improve notifications - fix auth code tg duplicate, double order notify, add PAID label, expand text, add deliveryFeeAdjusted event
This commit is contained in:
@@ -8,6 +8,7 @@ export interface UserNotificationSettings {
|
||||
orderStatusChanged: boolean
|
||||
orderMessageReceived: boolean
|
||||
paymentStatusChanged: boolean
|
||||
deliveryFeeAdjusted: boolean
|
||||
createdAt: string
|
||||
updatedAt: string
|
||||
}
|
||||
|
||||
@@ -16,6 +16,7 @@ const eventFields = [
|
||||
{ key: 'orderStatusChanged' as const, label: 'Изменение статуса заказа' },
|
||||
{ key: 'orderMessageReceived' as const, label: 'Сообщение в чате заказа' },
|
||||
{ key: 'paymentStatusChanged' as const, label: 'Изменение статуса оплаты' },
|
||||
{ key: 'deliveryFeeAdjusted' as const, label: 'Корректировка стоимости доставки' },
|
||||
]
|
||||
|
||||
export function NotificationsPage() {
|
||||
|
||||
Reference in New Issue
Block a user