feat(cardex): implement cardex controller, service, and DTO for stock movements
feat(pos): add POS controller and service for order creation and stock retrieval refactor(pos): enhance stock and product category retrieval with pagination and mapping
This commit is contained in:
+5
-1
@@ -1,11 +1,13 @@
|
||||
import { Module } from '@nestjs/common'
|
||||
import { AppController } from './app.controller'
|
||||
import { AppService } from './app.service'
|
||||
import { AuthModule } from './auth/auth.module'
|
||||
import { CustomersModule } from './customers/customers.module'
|
||||
import { InventoriesModule } from './inventories/inventories.module'
|
||||
import { InventoryTransferItemsModule } from './inventory-transfer-items/inventory-transfer-items.module'
|
||||
import { InventoryTransfersModule } from './inventory-transfers/inventory-transfers.module'
|
||||
import { PosModule } from './pos/pos.module'
|
||||
import { CardexModule } from './modules/cardex/cardex.module'
|
||||
import { PosModule } from './modules/pos/pos.module'
|
||||
import { PrismaModule } from './prisma/prisma.module'
|
||||
import { ProductBrandsModule } from './product-brands/product-brands.module'
|
||||
import { ProductCategoriesModule } from './product-categories/product-categories.module'
|
||||
@@ -28,6 +30,7 @@ import { UsersModule } from './users/users.module'
|
||||
imports: [
|
||||
PrismaModule,
|
||||
UsersModule,
|
||||
AuthModule,
|
||||
RolesModule,
|
||||
ProductsModule,
|
||||
ProductVariantsModule,
|
||||
@@ -48,6 +51,7 @@ import { UsersModule } from './users/users.module'
|
||||
StockAdjustmentsModule,
|
||||
StockBalanceModule,
|
||||
PosModule,
|
||||
CardexModule,
|
||||
],
|
||||
controllers: [AppController],
|
||||
providers: [AppService],
|
||||
|
||||
Reference in New Issue
Block a user