diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/quotation/components/Quotation.jsx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/quotation/components/Quotation.jsx b/src/lib/quotation/components/Quotation.jsx index fbb0627c..09d55e92 100644 --- a/src/lib/quotation/components/Quotation.jsx +++ b/src/lib/quotation/components/Quotation.jsx @@ -152,7 +152,6 @@ const Quotation = () => { setCheckoutValidation(false); if (selectedCarrier != 0 && selectedCarrier != 1 && totalWeight > 0) { - console.log('masuk'); loadServiceRajaOngkir(); } else { setListServiceExpedisi(); @@ -215,7 +214,6 @@ const Quotation = () => { setProducts(cartCheckout?.products); setCheckWeight(cartCheckout?.hasProductWithoutWeight); setTotalWeight(cartCheckout?.totalWeight.g); - console.log(cartCheckout); }, [cartCheckout]); useEffect(() => { @@ -260,8 +258,8 @@ const Quotation = () => { quantity: product.quantity, })); let data = { - partner_shipping_id: auth.partnerId, - partner_invoice_id: auth.partnerId, + partner_shipping_id: selectedAddress.shipping.id, + partner_invoice_id: selectedAddress.invoicing.id, user_id: auth.id, order_line: JSON.stringify(productOrder), delivery_amount: biayaKirim, |
