fix some bugs from accounting 3
This commit is contained in:
@@ -6,6 +6,7 @@ export interface AppNotification {
|
||||
body: string
|
||||
severity: 'info' | 'success' | 'warning' | 'danger'
|
||||
is_active: boolean
|
||||
is_system?: boolean
|
||||
created_by?: number | null
|
||||
created_at?: string
|
||||
updated_at?: string
|
||||
@@ -18,6 +19,17 @@ export interface AppNotification {
|
||||
customer_ids?: number[]
|
||||
}
|
||||
|
||||
export type AppNotificationSourceFilter = 'all' | 'admin' | 'system'
|
||||
|
||||
export const APP_NOTIFICATION_SOURCE_TABS: Array<{
|
||||
value: AppNotificationSourceFilter
|
||||
label: string
|
||||
}> = [
|
||||
{ value: 'all', label: 'همه' },
|
||||
{ value: 'admin', label: 'اعلان ادمین' },
|
||||
{ value: 'system', label: 'سیستمی' },
|
||||
]
|
||||
|
||||
export const APP_NOTIFICATION_SEVERITIES = [
|
||||
{ value: 'info', label: 'اطلاعات (info)' },
|
||||
{ value: 'success', label: 'موفق (success)' },
|
||||
|
||||
Reference in New Issue
Block a user