mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
chore: remove unnecessary code
This commit is contained in:
@@ -710,8 +710,7 @@ const SalesOrderProductForm = ({
|
|||||||
formik.values.convertion_unit?.value.toLowerCase() === 'kg') && (
|
formik.values.convertion_unit?.value.toLowerCase() === 'kg') && (
|
||||||
<NumberInput
|
<NumberInput
|
||||||
required
|
required
|
||||||
// TODO: delete 'asdf' later
|
label={`Harga / ${formik.values.convertion_unit?.label ?? 'Produk'} (Rp)`}
|
||||||
label={`asdf Harga / ${formik.values.convertion_unit?.label ?? 'Produk'} (Rp)`}
|
|
||||||
name='price_per_convertion'
|
name='price_per_convertion'
|
||||||
value={formik.values.price_per_convertion ?? undefined}
|
value={formik.values.price_per_convertion ?? undefined}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
@@ -757,7 +756,7 @@ const SalesOrderProductForm = ({
|
|||||||
formik.values.convertion_unit?.value.toLowerCase() !== 'kg' && (
|
formik.values.convertion_unit?.value.toLowerCase() !== 'kg' && (
|
||||||
<NumberInput
|
<NumberInput
|
||||||
required
|
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'
|
name='unit_price'
|
||||||
value={formik.values.unit_price}
|
value={formik.values.unit_price}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user