diff --git a/src/product/product.service.ts b/src/product/product.service.ts index aae809c..620f0b4 100644 --- a/src/product/product.service.ts +++ b/src/product/product.service.ts @@ -2,7 +2,7 @@ import { HttpException, HttpStatus, Injectable } from '@nestjs/common'; import { EntityNotFoundError, Repository } from 'typeorm'; import { Product } from './entities/product.entity'; import { InjectRepository } from '@nestjs/typeorm'; -import { CreateProductDto } from '../product/dto/product/create-product.dto'; +import { CreateProductDto } from './dto/product/create-product.dto'; import { ProductSubCategoriesService } from './product-sub-categories.service'; import { UpdateProductDto } from './dto/product/update-product.dto'; import { ProductHistoryPrice } from './entities/product-history-price.entity'; diff --git a/src/transaction/transaction.module.ts b/src/transaction/transaction.module.ts index 73ead99..7a0c84f 100644 --- a/src/transaction/transaction.module.ts +++ b/src/transaction/transaction.module.ts @@ -11,6 +11,7 @@ import { Transactions } from './entities/transactions.entity'; import { CoaService } from './coa.service'; import { ProductService } from '../product/product.service'; import { ProductSubCategoriesService } from '../product/product-sub-categories.service'; +import { ProductModule } from '../product/product.module'; @Module({ imports: [ @@ -21,7 +22,7 @@ import { ProductSubCategoriesService } from '../product/product-sub-categories.s TransactionJournal, Transactions, ]), - ProductService, + ProductModule, ], controllers: [TransactionController, PpobCallbackController], providers: [TransactionService, CoaService],