From 131949874ad24366e037462c42012b0ea440f7a7 Mon Sep 17 00:00:00 2001 From: ragilap Date: Mon, 16 Mar 2026 11:08:37 +0700 Subject: [PATCH] changes name response transfer --- .../inventory/product-warehouses/dto/product_warehouse.dto.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/modules/inventory/product-warehouses/dto/product_warehouse.dto.go b/internal/modules/inventory/product-warehouses/dto/product_warehouse.dto.go index 0d367522..97cff885 100644 --- a/internal/modules/inventory/product-warehouses/dto/product_warehouse.dto.go +++ b/internal/modules/inventory/product-warehouses/dto/product_warehouse.dto.go @@ -16,7 +16,6 @@ type ProductWarehouseRelationDTO struct { ProductId uint `json:"product_id"` WarehouseId uint `json:"warehouse_id"` Quantity float64 `json:"quantity"` - AvailableQty *float64 `json:"available_qty,omitempty"` TransferAvailableQty *float64 `json:"transfer_available_qty,omitempty"` } @@ -67,7 +66,6 @@ func ToProductWarehouseRelationDTO(e entity.ProductWarehouse) ProductWarehouseRe ProductId: e.ProductId, // Field yang benar dari entity WarehouseId: e.WarehouseId, // Field yang benar dari entity Quantity: e.Quantity, - AvailableQty: e.AvailableQty, TransferAvailableQty: e.AvailableQty, } }