update
This commit is contained in:
@ -6,7 +6,7 @@ import { TrxReceiver } from "./trx_receivers";
|
|||||||
import { TrxCurrencyRate } from "./trx_currency_rates";
|
import { TrxCurrencyRate } from "./trx_currency_rates";
|
||||||
import { TrxCustomerCost } from "./trx_customer_costs";
|
import { TrxCustomerCost } from "./trx_customer_costs";
|
||||||
import { TrxCustomerUser } from "./trx_customer_users";
|
import { TrxCustomerUser } from "./trx_customer_users";
|
||||||
import { TrxTransactionPosition, TrxTransactionStatus, TrxTransactionType } from "../types/trx";
|
import { TrxTransactionPosition, TrxTransactionRemark, TrxTransactionStatus, TrxTransactionType } from "../types/trx";
|
||||||
import { TrxVerification } from "./trx_verifications";
|
import { TrxVerification } from "./trx_verifications";
|
||||||
|
|
||||||
@Entity("trx_transactions", { schema: "trx" })
|
@Entity("trx_transactions", { schema: "trx" })
|
||||||
@ -147,7 +147,7 @@ export class TrxTransaction {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
length: 256,
|
length: 256,
|
||||||
})
|
})
|
||||||
remark: string;
|
remark: TrxTransactionRemark;
|
||||||
|
|
||||||
@Column()
|
@Column()
|
||||||
@CreateDateColumn()
|
@CreateDateColumn()
|
||||||
|
|||||||
@ -67,4 +67,17 @@ export enum TrxTransactionStatus {
|
|||||||
"cancel" = "cancel",
|
"cancel" = "cancel",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export enum TrxTransactionRemark {
|
||||||
|
"Draft" = "draft",
|
||||||
|
"Create" = "create",
|
||||||
|
"Pending Approval Checker" = "pending_checker",
|
||||||
|
"Pending Approval Signer" = "pending_signer",
|
||||||
|
"Deal Request Process" = "process_deal_request",
|
||||||
|
"Deal Approve Process" = "process_deal_approve",
|
||||||
|
"Settlement on Process" = "process_settlement",
|
||||||
|
"Success" = "success",
|
||||||
|
"Reject" = "reject",
|
||||||
|
"Cancel" = "cancel",
|
||||||
|
}
|
||||||
|
|
||||||
////
|
////
|
||||||
|
|||||||
Reference in New Issue
Block a user