chore: add recurring invoice proccesor logic

This commit is contained in:
mahyargdz
2025-03-11 11:52:46 +03:30
parent fdf1bc908c
commit 4503721b90
17 changed files with 310 additions and 36 deletions
@@ -32,6 +32,7 @@ export enum NotifType {
CREATE_TICKET = "CREATE_TICKET",
//
ASSIGN_TICKET = "ASSIGN_TICKET",
RECURRING_INVOICE = "RECURRING_INVOICE",
}
export const NotifDescriptions: Record<NotifType, { fa: string; category: NotifCategory }> = {
@@ -48,6 +49,7 @@ export const NotifDescriptions: Record<NotifType, { fa: string; category: NotifC
[NotifType.BILL_INVOICE_REMINDER]: { fa: "یادآوری پرداخت صورت حساب", category: NotifCategory.INVOICE },
[NotifType.BILL_INVOICE]: { fa: "پرداخت صورت حساب", category: NotifCategory.INVOICE },
[NotifType.APPROVE_INVOICE]: { fa: "تایید صورت حساب", category: NotifCategory.INVOICE },
[NotifType.RECURRING_INVOICE]: { fa: "صورت حساب دوره ای", category: NotifCategory.INVOICE },
// Service category
[NotifType.CREATE_SERVICE]: { fa: "ایجاد سرویس", category: NotifCategory.SERVICE },