fix: order history
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| import { Entity, Column } from 'typeorm'; | ||||
| import { Column, Entity } from 'typeorm'; | ||||
| import { BaseModel } from '../../config/basemodel.entity'; | ||||
| import { coaType, balanceType } from '../../helper/enum-list'; | ||||
| import { balanceType, coaType } from '../../helper/enum-list'; | ||||
|  | ||||
| @Entity() | ||||
| export class COA extends BaseModel { | ||||
|   | ||||
| @@ -1,11 +1,4 @@ | ||||
| import { | ||||
|   Entity, | ||||
|   Column, | ||||
|   ManyToOne, | ||||
|   ManyToMany, | ||||
|   JoinTable, | ||||
|   OneToOne, | ||||
| } from 'typeorm'; | ||||
| import { Column, Entity, ManyToOne } from 'typeorm'; | ||||
| import { BaseModel } from '../../config/basemodel.entity'; | ||||
| import { COA } from './coa.entity'; | ||||
| import { Transactions } from './transactions.entity'; | ||||
|   | ||||
| @@ -1,20 +1,7 @@ | ||||
| import { | ||||
|   Entity, | ||||
|   Column, | ||||
|   PrimaryGeneratedColumn, | ||||
|   UpdateDateColumn, | ||||
|   DeleteDateColumn, | ||||
|   VersionColumn, | ||||
|   CreateDateColumn, | ||||
|   ManyToOne, | ||||
|   ManyToMany, | ||||
|   JoinTable, | ||||
| } from 'typeorm'; | ||||
| import { Column, Entity, ManyToOne } from 'typeorm'; | ||||
| import { BaseModel } from '../../config/basemodel.entity'; | ||||
| import { statusTransaction, typeTransaction } from '../../helper/enum-list'; | ||||
| import { Partner } from '../../users/entities/partner.entity'; | ||||
| import { ProductHistoryPrice } from '../../product/entities/product-history-price.entity'; | ||||
| import { User } from '../../users/entities/user.entity'; | ||||
| import { UserDetail } from '../../users/entities/user_detail.entity'; | ||||
| import { TransactionJournal } from './transaction-journal.entity'; | ||||
|  | ||||
| @@ -48,6 +35,11 @@ export class Transactions extends BaseModel { | ||||
|   }) | ||||
|   image_prove: string; | ||||
|  | ||||
|   @Column({ | ||||
|     nullable: true, | ||||
|   }) | ||||
|   destination: string; | ||||
|  | ||||
|   @Column({ | ||||
|     nullable: true, | ||||
|   }) | ||||
| @@ -56,7 +48,7 @@ export class Transactions extends BaseModel { | ||||
|   @Column({ | ||||
|     nullable: true, | ||||
|   }) | ||||
|   phone_number: string; | ||||
|   partner_trx_id: string; | ||||
|  | ||||
|   @Column({ | ||||
|     nullable: true, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user