fix: deposit_return and fix transction
This commit is contained in:
@@ -1,11 +1,4 @@
|
||||
import { IsNotEmpty, IsUUID } from 'class-validator';
|
||||
import {
|
||||
balanceType,
|
||||
coaType,
|
||||
statusTransaction,
|
||||
typeTransaction,
|
||||
} from 'src/helper/enum-list';
|
||||
import { EntityManager } from 'typeorm';
|
||||
|
||||
export class AddSaldoSupplier {
|
||||
@IsNotEmpty()
|
||||
|
||||
7
src/transaction/dto/deposit_return.dto.ts
Normal file
7
src/transaction/dto/deposit_return.dto.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { DistributeTransactionDto } from './distribute-transaction.dto';
|
||||
import { IsNotEmpty } from 'class-validator';
|
||||
|
||||
export class DepositReturnDto extends DistributeTransactionDto {
|
||||
@IsNotEmpty()
|
||||
image_prove: string;
|
||||
}
|
||||
@@ -6,7 +6,4 @@ export class DistributeTransactionDto {
|
||||
|
||||
@IsNotEmpty()
|
||||
destination: string;
|
||||
|
||||
@IsNotEmpty()
|
||||
supplier: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user