fix: product module
This commit is contained in:
parent
321d296e5b
commit
37352567f1
|
@ -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';
|
||||
|
|
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue
Block a user