bugs
This commit is contained in:
@@ -61,8 +61,11 @@ export class Order extends BaseEntity {
|
||||
@Property({ type: 'decimal', precision: 10, scale: 0 })
|
||||
paidAmount!: number;
|
||||
|
||||
// balance!: number;
|
||||
@Property({ type: 'decimal', precision: 10, scale: 0 })
|
||||
balance!: number;
|
||||
get balance():number{
|
||||
return this.total- this.paidAmount
|
||||
}
|
||||
|
||||
// @Property({ type: 'text', nullable: true })
|
||||
// description?: string;
|
||||
|
||||
Reference in New Issue
Block a user