Updated the expiry date to be based on the expiry date

This commit is contained in:
Tiago Ribeiro
2024-12-30 15:36:20 +00:00
parent b52259794e
commit 17154be8bf
8 changed files with 164 additions and 18 deletions

View File

@@ -4,6 +4,11 @@ export interface Entity {
id: string;
label: string;
licenses: number;
expiryDate?: Date | null
payment?: {
currency: string
price: number
}
}
export interface Role {

View File

@@ -32,6 +32,7 @@ export type DurationUnit = "weeks" | "days" | "months" | "years";
export interface Payment {
id: string;
corporate: string;
entity?: string
agent?: string;
agentCommission: number;
agentValue: number;