update new table teller mutation
This commit is contained in:
@ -37,6 +37,12 @@ export class LogPull {
|
|||||||
})
|
})
|
||||||
date_index: string;
|
date_index: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
length: 8
|
||||||
|
})
|
||||||
|
teller_id: string;
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
nullable: false,
|
nullable: false,
|
||||||
default: false
|
default: false
|
||||||
|
|||||||
83
src/entity/teller_mutation.ts
Normal file
83
src/entity/teller_mutation.ts
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, JoinColumn, ManyToOne } from 'typeorm';
|
||||||
|
import { Branch } from './branchs';
|
||||||
|
|
||||||
|
@Entity('teller_mutation')
|
||||||
|
export class TellerMutation {
|
||||||
|
@PrimaryGeneratedColumn('uuid')
|
||||||
|
id: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: false,
|
||||||
|
length: 64
|
||||||
|
})
|
||||||
|
reference_number: string;
|
||||||
|
|
||||||
|
@ManyToOne(() => Branch, { onDelete: "RESTRICT" })
|
||||||
|
@JoinColumn()
|
||||||
|
branch: Branch
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
position_datetime: Date;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
length: 10
|
||||||
|
})
|
||||||
|
teller_code: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
length: 32
|
||||||
|
})
|
||||||
|
tran: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
length: 512
|
||||||
|
})
|
||||||
|
transaction_name: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
length: 32
|
||||||
|
})
|
||||||
|
account_number: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
nullable: true,
|
||||||
|
length: 256
|
||||||
|
})
|
||||||
|
account_holder: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
type: 'float8',
|
||||||
|
nullable: false,
|
||||||
|
})
|
||||||
|
mutation_amount: number;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
length: 3,
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
currency: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
length: 64,
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
supervisor: string;
|
||||||
|
|
||||||
|
@Column()
|
||||||
|
@CreateDateColumn()
|
||||||
|
created_at: Date;
|
||||||
|
|
||||||
|
@Column()
|
||||||
|
@UpdateDateColumn()
|
||||||
|
updated_at: Date;
|
||||||
|
|
||||||
|
@Column({ nullable: true })
|
||||||
|
@DeleteDateColumn()
|
||||||
|
deleted_at: Date;
|
||||||
|
}
|
||||||
@ -23,7 +23,7 @@ import { IncomeTier } from "./entity/income_tier";
|
|||||||
import { Munisipo } from "./entity/munisipo";
|
import { Munisipo } from "./entity/munisipo";
|
||||||
import { Suco } from "./entity/suco";
|
import { Suco } from "./entity/suco";
|
||||||
import { LogPull } from "./entity/log_pull";
|
import { LogPull } from "./entity/log_pull";
|
||||||
import { LogPullType, StatusLogPull } from "./types/pull";
|
import { LogPullType, StatusLogPull, TellerCode } from "./types/pull";
|
||||||
import { Category } from "./entity/categories";
|
import { Category } from "./entity/categories";
|
||||||
import { CategorySource } from "./types/category_source";
|
import { CategorySource } from "./types/category_source";
|
||||||
import { PullerStatus } from "./entity/puller_status";
|
import { PullerStatus } from "./entity/puller_status";
|
||||||
@ -68,6 +68,7 @@ import { AssetJournalEntry } from "./entity/journal_entries";
|
|||||||
import { PaymentApproval } from "./entity/payment_approval";
|
import { PaymentApproval } from "./entity/payment_approval";
|
||||||
import { FinanceMemo } from "./entity/finance_memo";
|
import { FinanceMemo } from "./entity/finance_memo";
|
||||||
import { BankGaransiPending } from "./entity/bank_garansi_pending";
|
import { BankGaransiPending } from "./entity/bank_garansi_pending";
|
||||||
|
import { TellerMutation } from "./entity/teller_mutation";
|
||||||
|
|
||||||
export {
|
export {
|
||||||
User, //
|
User, //
|
||||||
@ -101,6 +102,7 @@ export {
|
|||||||
LogPull,
|
LogPull,
|
||||||
LogPullType,
|
LogPullType,
|
||||||
StatusLogPull,
|
StatusLogPull,
|
||||||
|
TellerCode,
|
||||||
Category,
|
Category,
|
||||||
CategorySource,
|
CategorySource,
|
||||||
CategoryType,
|
CategoryType,
|
||||||
@ -146,4 +148,5 @@ export {
|
|||||||
CreditApplicationChat,
|
CreditApplicationChat,
|
||||||
CreditApplicationFileStatus,
|
CreditApplicationFileStatus,
|
||||||
Application,
|
Application,
|
||||||
|
TellerMutation
|
||||||
};
|
};
|
||||||
|
|||||||
@ -3,9 +3,17 @@ export enum LogPullType {
|
|||||||
"CIF_BEREKENING" = "CIF_BEREKENING",
|
"CIF_BEREKENING" = "CIF_BEREKENING",
|
||||||
"TRIAL_BALANCE_BRANCH" = "TRIAL_BALANCE_BRANCH",
|
"TRIAL_BALANCE_BRANCH" = "TRIAL_BALANCE_BRANCH",
|
||||||
"TRIAL_BALANCE_KONSOLIDASI" = "TRIAL_BALANCE_KONSOLIDASI",
|
"TRIAL_BALANCE_KONSOLIDASI" = "TRIAL_BALANCE_KONSOLIDASI",
|
||||||
"TRANSAKSI_CS" = "TRANSAKSI_CS"
|
"TRANSAKSI_CS" = "TRANSAKSI_CS",
|
||||||
|
"TELLER_MUTATION" = "TELLER_MUTATION"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const TellerCode = {
|
||||||
|
"0452": ["0452051", "0452052", "0452053", "0452054", "0452055", "0452056", "0452057", "0452058", "0452059"],
|
||||||
|
"0453": ["0453051"],
|
||||||
|
"0454": ["0454051"],
|
||||||
|
"0455": ["0455051", "0455052"]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
export enum StatusLogPull {
|
export enum StatusLogPull {
|
||||||
"Waiting Schedule" = "W",
|
"Waiting Schedule" = "W",
|
||||||
|
|||||||
Reference in New Issue
Block a user