update asset

This commit is contained in:
fro1991
2025-03-19 17:37:15 +07:00
parent 0f2095bfdc
commit fbf36bbc82
2 changed files with 16 additions and 0 deletions

View File

@ -36,6 +36,14 @@ export class AssetPurchase {
@Column({ type: 'float8', nullable: true })
sub_total: number;
@Column({
type: 'float8',
nullable: false,
default: 0
})
discount: number;
@Column({ type: 'int2', nullable: true })
tax_percent: number;

View File

@ -52,6 +52,14 @@ export class AssetRequestOrder {
@Column({ type: 'float8', nullable: true })
sub_total: number;
@Column({
type: 'float8',
nullable: false,
default: 0
})
discount: number;
@Column({ type: 'int2', nullable: true })
tax_percent: number;