feat(FE): calculation penjualan telur + peti

This commit is contained in:
randy-ar
2026-02-05 04:41:46 +07:00
parent dfd86a04e0
commit cb22fd1037
7 changed files with 166 additions and 53 deletions
@@ -14,8 +14,6 @@ import {
DeliveryProductToFieldValues,
mergeSOwithDO,
SalesProductToFieldValues,
} from '@/components/pages/marketing/form/MarketingForm';
import {
DeliveryOrderFormValues,
DeliveryOrderSchema,
getFilledMarketingFormInitialValues,
@@ -210,7 +208,6 @@ const SalesOrderFormModal = ({
convertion_unit: normalizedConvertionUnit,
weight_per_convertion:
product.weight_per_convertion ?? undefined,
week: product.weeks?.value ?? undefined,
} as CreateSalesOrderProductPayload;
}),
} as CreateSalesOrderPayload)