chore: remove unnecessary code

This commit is contained in:
ValdiANS
2026-04-07 16:57:01 +07:00
parent 8961004000
commit 429ff58bfd
@@ -710,8 +710,7 @@ const SalesOrderProductForm = ({
formik.values.convertion_unit?.value.toLowerCase() === 'kg') && (
<NumberInput
required
// TODO: delete 'asdf' later
label={`asdf Harga / ${formik.values.convertion_unit?.label ?? 'Produk'} (Rp)`}
label={`Harga / ${formik.values.convertion_unit?.label ?? 'Produk'} (Rp)`}
name='price_per_convertion'
value={formik.values.price_per_convertion ?? undefined}
onChange={(e) => {
@@ -757,7 +756,7 @@ const SalesOrderProductForm = ({
formik.values.convertion_unit?.value.toLowerCase() !== 'kg' && (
<NumberInput
required
label={`asdff Harga / ${formik.values.convertion_unit?.label !== 'qty' ? 'Kg' : (selectedProductWarehouse?.product?.uom?.name ?? 'Produk')} (Rp)`}
label={`Harga / ${formik.values.convertion_unit?.label !== 'qty' ? 'Kg' : (selectedProductWarehouse?.product?.uom?.name ?? 'Produk')} (Rp)`}
name='unit_price'
value={formik.values.unit_price}
onChange={(e) => {