chore: implenet the external invoice
This commit is contained in:
@@ -52,6 +52,14 @@ export class Invoice extends BaseEntity {
|
||||
|
||||
//---------------------------------------------
|
||||
|
||||
@Column({ type: "boolean", default: false })
|
||||
isExternal: boolean;
|
||||
|
||||
@Column({ type: "varchar", length: 250, nullable: true })
|
||||
externalBusinessId: string | null;
|
||||
|
||||
//---------------------------------------------
|
||||
|
||||
@OneToMany(() => InvoiceItem, (invoiceItem) => invoiceItem.invoice, { cascade: true })
|
||||
items: InvoiceItem[];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user