chore: add queue for invoice reminder logic but not tested

This commit is contained in:
mahyargdz
2025-03-07 19:03:45 +03:30
parent a4cae0c273
commit 15187680ce
7 changed files with 212 additions and 7 deletions
@@ -32,6 +32,9 @@ export class Invoice extends BaseEntity {
@Column({ type: "decimal", precision: 16, scale: 2, nullable: false, transformer: new DecimalTransformer() })
tax: Decimal;
@Column({ type: "decimal", precision: 16, scale: 2, nullable: true, transformer: new DecimalTransformer() })
lateFee?: Decimal;
//---------------------------------------------
@OneToMany(() => InvoiceItem, (invoiceItem) => invoiceItem.invoice, { cascade: true })