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, } }