update purchase invoice

This commit is contained in:
fro1991
2025-03-11 20:07:35 +07:00
parent 7720cfa0f9
commit 2ddc3c6da2

View File

@ -32,7 +32,7 @@ export class AssetPurchaseInvoice {
invoice_at: Date;
@Column({ nullable: false })
received_at: Date;
receive_at: Date;
@Column({ nullable: false })
due_at: Date;
@ -41,7 +41,7 @@ export class AssetPurchaseInvoice {
type: 'float8',
nullable: false,
})
amount: number;
sub_total: number;
@Column({
type: 'float8',
@ -49,11 +49,17 @@ export class AssetPurchaseInvoice {
})
discount: number;
@Column({
type: 'int2',
nullable: false,
})
tax_percent: number;
@Column({
type: 'float8',
nullable: false,
})
tax: number;
tax_amount: number;
@Column({
type: 'float8',