mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 05:21:57 +00:00
fix: DTO adjustment for bulk approve
This commit is contained in:
@@ -64,6 +64,7 @@ type MarketingDeliveryProductDTO struct {
|
||||
}
|
||||
|
||||
type DeliveryItemDTO struct {
|
||||
MarketingProductId uint `json:"marketing_product_id"`
|
||||
ProductWarehouse *productwarehouseDTO.ProductWarehousNestedDTO `json:"product_warehouse"`
|
||||
Qty float64 `json:"qty"`
|
||||
UnitPrice float64 `json:"unit_price"`
|
||||
@@ -328,6 +329,7 @@ func groupDeliveryProducts(products []MarketingDeliveryProductDTO, soNumber stri
|
||||
}
|
||||
|
||||
deliveryItem := DeliveryItemDTO{
|
||||
MarketingProductId: product.MarketingProductId,
|
||||
ProductWarehouse: product.ProductWarehouse,
|
||||
Qty: product.Qty,
|
||||
UnitPrice: product.UnitPrice,
|
||||
|
||||
Reference in New Issue
Block a user