Compare commits

..

No commits in common. "6efe5618cb29020101aa9e4dd408660b3050e33a" and "0dfaeb204537c4f5707bdec27bcbf5c53e91b89c" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ export function mappingRevertTransaction(data, type) {
) ?? 0) * +item.qty;
const totalAndBundlingRatio = total_price / bundlingTotalPrice;
item.bundling_items = item.item.bundling_items?.map((bundling) => {
if (bundling.total_net_price) return bundling;
if (bundling.item_id) return bundling;
const basePrice =
(bundling.item_rates ?? bundling.base_price) *